Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:40948
HistoryJun 20, 2023 - 4:13 a.m.

Denial Of Service (DoS)

2023-06-2004:13:38
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
27
denial of service
vulnerability
snappy-java
hasnextchunk
snappyinputstream.java
negativearraysizeexception
outofmemoryerror
application crash

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

46.1%

snappy-java is vulnerable to Denial Of Service (DoS). The vulnerability exists because the hasNextChunk function of SnappyInputStream.java does not properly check for negative chunk sizes and huge positive values such as 0x7FFFFFFF, which leads to java.lang.NegativeArraySizeException and java.lang.OutOfMemoryError exceptions, allowing an attacker to cause an application crash.

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

46.1%