PT-2018-2791

CVE-2018-1000613

·

Published

2018-07-09

·

Updated

2026-10-07

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Legion of the Bouncy Castle Java Cryptography APIs versions 1.57 through 1.59
Description The issue is related to the deserialization of XMSS/XMSS^MT private keys, which can result in the execution of unexpected code. This is due to the use of externally-controlled input to select classes or code, also known as 'Unsafe Reflection'. An attacker can exploit this by creating a handcrafted private key that includes references to unexpected classes, which will be picked up from the class path for the executing application.
Recommendations For versions 1.57 through 1.59, update to version 1.60 or later to resolve the issue. As a temporary workaround, consider restricting the use of XMSS/XMSS^MT private key deserialization until a patch is available. Avoid using handcrafted private keys that include references to unexpected classes in the affected API endpoints until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-4446-656P-F54G
MGASA-2018-0376
OPENSUSE-SU-2018_2131-1
OPENSUSE-SU-2018_2180-1
OPENSUSE-SU-2020:0607-1
OPENSUSE-SU-2020_0607-1
OPENSUSE-SU-2024:10661-1
Found an issue in the description? Have something to add? Feel free to write us 👾