Skip to content

Out-of-Memory Error in Bouncy Castle Crypto

High severity GitHub Reviewed Published Oct 17, 2019 to the GitHub Advisory Database • Updated Jan 28, 2023

Package

maven org.bouncycastle:bcprov-jdk14 (Maven)

Affected versions

= 1.63

Patched versions

1.64

Description

The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can trigger a large attempted memory allocation, and resultant OutOfMemoryError error, via crafted ASN.1 data. This is fixed in 1.64.

References

Published by the National Vulnerability Database Oct 8, 2019
Reviewed Oct 17, 2019
Published to the GitHub Advisory Database Oct 17, 2019
Last updated Jan 28, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2019-17359

GHSA ID

GHSA-2mh8-gx2m-mr75

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.