Lucene search

K
githubGitHub Advisory DatabaseGHSA-WJXJ-5M7G-MG7Q
HistoryNov 23, 2023 - 6:30 p.m.

Bouncy Castle Denial of Service (DoS)

2023-11-2318:30:33
CWE-400
GitHub Advisory Database
github.com
31
bouncy castle
java
dos
vulnerability
pemparser
outofmemoryerror

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

7.1 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.8%

Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack.

Affected configurations

Vulners
Node
org.bouncycastle\bcprovMatchjdk15on
OR
org.bouncycastle\bcprovMatchjdk16
OR
org.bouncycastle\bcprovMatchjdk15to18
OR
org.bouncycastle\bcprovMatchjdk15
OR
org.bouncycastle\bcprovMatchjdk14
OR
org.bouncycastle\bcprovMatchjdk16
OR
org.bouncycastle\bcprovMatchjdk15on
OR
org.bouncycastle\bcpkixMatchjdk18on
OR
org.bouncycastle\bcprovMatchjdk18on

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

7.1 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.8%