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
18
denial of service
vulnerability
snappy-java
hasnextchunk
snappyinputstream.java
negativearraysizeexception
outofmemoryerror
application crash

7.5 High

CVSS3

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

0.001 Low

EPSS

Percentile

39.5%

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.

CPENameOperatorVersion
snappy-javale1.1.10.0
snappy-javale1.1.10.0

7.5 High

CVSS3

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

0.001 Low

EPSS

Percentile

39.5%