Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-1000613 EUVD-2018-0492GHSA-4446-656p-f54g

Deserialization of Untrusted Data in Bouncy castle

Published Jul 9, 2018 · Updated Nov 14, 2024 · Assigned by mitre

Description

Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in XMSS/XMSS^MT private key deserialization that can result in Deserializing an XMSS/XMSS^MT private key can result in the execution of unexpected code. This attack appear to be exploitable via A handcrafted private key can include references to unexpected classes which will be picked up from the class path for the executing application. This vulnerability appears to have been fixed in 1.60 and later.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bouncycastle 1.60-1 —
Debian 13 bouncycastle 1.60-1 —
Debian 12 bouncycastle 1.60-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS bouncycastle No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bouncycastle 1.68-3.2 openSUSE-SU-2024:10661-1
openSUSE Leap 15.1 bouncycastle 1.60-lp151.3.3.1 openSUSE-SU-2020:0607-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.bouncycastle:bcprov-jdk15on >= 1.57, < 1.60 1.60 GHSA-4446-656p-f54g

Advisories 4

References