CVE-2024-30172 Bouncy Castle crafted signature and public key can be used to trigger an infinite loop
HighCVSS 7.5
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
An issue was discovered in Bouncy Castle Java Cryptography APIs before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.
Upgrade path
14 packages: 12 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/bouncycastle(Debian 12) | = 1.72-2; = 1.77-1; = 1.80-1; = 1.80-2 +4 more | No fix listed | No fix yet |
| nuget BouncyCastle(NuGet) | < 2.3.1; = 1.7.0; = 1.8.1; = 1.8.2 +8 more | 2.3.1 | Partially fixed |
| bouncycastle legion-of-the-bouncy-castle-java-crytography-api | < 1.78 | 1.78 | Fixed |
| debian/bouncycastle(Debian 13) | < 1.80-1 | 1.80-1 | Fixed |
| debian/bouncycastle(Debian 14) | < 1.80-1 | 1.80-1 | Fixed |
| nuget BouncyCastle.Cryptography(NuGet) | < 2.3.1; = 2.0.0; = 2.1.0; = 2.1.1 +3 more | 2.3.1 | Fixed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.73; = 1.74; = 1.75; = 1.76 +2 more | 1.78 | Fixed |
| org.bouncycastle/bcprov-jdk15to18(Maven) | = 1.73; = 1.74; = 1.75; = 1.76 +2 more | 1.78 | Fixed |
| org.bouncycastle/bcprov-jdk18on(Maven) | = 1.73; = 1.74; = 1.75; = 1.76 +2 more | 1.78 | Fixed |
| org.bouncycastle/bctls-jdk14(Maven) | = 1.73; = 1.74; = 1.75; = 1.76 +2 more | 1.78 | Fixed |
| org.bouncycastle/bctls-jdk15to18(Maven) | = 1.73; = 1.74; = 1.75; = 1.76 +2 more | 1.78 | Fixed |
| org.bouncycastle/bctls-jdk18on(Maven) | = 1.73; = 1.74; = 1.75; = 1.76 +2 more | 1.78 | Fixed |
| ubuntu/bouncycastle(Ubuntu 24.04) | < 1.77-1ubuntu0.1~esm1 | 1.77-1ubuntu0.1~esm1 | Fixed |
| ubuntu/bouncycastle(Ubuntu Pro 24.04) | < 1.77-1ubuntu0.1~esm1; = 1.72-2; = 1.77-1 | 1.77-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bcprov-jdk18on(Maven) | >= 1.73, < 1.78 | 1.78 |
| org.bouncycastle/bcprov-jdk18on(Maven) | = 1.73 | No fix listed |
| org.bouncycastle/bcprov-jdk18on(Maven) | = 1.74 | No fix listed |
| org.bouncycastle/bcprov-jdk18on(Maven) | = 1.75 | No fix listed |
| org.bouncycastle/bcprov-jdk18on(Maven) | = 1.76 | No fix listed |
| org.bouncycastle/bcprov-jdk18on(Maven) | = 1.77 | No fix listed |
| org.bouncycastle/bcprov-jdk15to18(Maven) | >= 1.73, < 1.78 | 1.78 |
| org.bouncycastle/bcprov-jdk15to18(Maven) | = 1.73 | No fix listed |
| org.bouncycastle/bcprov-jdk15to18(Maven) | = 1.74 | No fix listed |
| org.bouncycastle/bcprov-jdk15to18(Maven) | = 1.75 | No fix listed |
| org.bouncycastle/bcprov-jdk15to18(Maven) | = 1.76 | No fix listed |
| org.bouncycastle/bcprov-jdk15to18(Maven) | = 1.77 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | >= 1.73, < 1.78 | 1.78 |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.73 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.74 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.75 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.76 | No fix listed |
| org.bouncycastle/bcprov-jdk14(Maven) | = 1.77 | No fix listed |
| org.bouncycastle/bctls-jdk18on(Maven) | >= 1.73, < 1.78 | 1.78 |
| org.bouncycastle/bctls-jdk18on(Maven) | = 1.73 | No fix listed |
| org.bouncycastle/bctls-jdk18on(Maven) | = 1.74 | No fix listed |
| org.bouncycastle/bctls-jdk18on(Maven) | = 1.75 | No fix listed |
| org.bouncycastle/bctls-jdk18on(Maven) | = 1.76 | No fix listed |
| org.bouncycastle/bctls-jdk18on(Maven) | = 1.77 | No fix listed |
| org.bouncycastle/bctls-jdk14(Maven) | >= 1.73, < 1.78 | 1.78 |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bctls-jdk14(Maven) | = 1.73 | No fix listed |
| org.bouncycastle/bctls-jdk14(Maven) | = 1.74 | No fix listed |
| org.bouncycastle/bctls-jdk14(Maven) | = 1.75 | No fix listed |
| org.bouncycastle/bctls-jdk14(Maven) | = 1.76 | No fix listed |
| org.bouncycastle/bctls-jdk14(Maven) | = 1.77 | No fix listed |
| org.bouncycastle/bctls-jdk15to18(Maven) | >= 1.73, < 1.78 | 1.78 |
| org.bouncycastle/bctls-jdk15to18(Maven) | = 1.73 | No fix listed |
| org.bouncycastle/bctls-jdk15to18(Maven) | = 1.74 | No fix listed |
| org.bouncycastle/bctls-jdk15to18(Maven) | = 1.75 | No fix listed |
| org.bouncycastle/bctls-jdk15to18(Maven) | = 1.76 | No fix listed |
| org.bouncycastle/bctls-jdk15to18(Maven) | = 1.77 | No fix listed |
| nuget BouncyCastle(NuGet) | All versions | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.7.0 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.1 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.2 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.3 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.3.1 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.4 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.5 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.6 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.6.1 | No fix listed |
| nuget BouncyCastle(NuGet) | = 1.8.9 | No fix listed |
| nuget BouncyCastle.Cryptography(NuGet) | < 2.3.1 | 2.3.1 |
| nuget BouncyCastle.Cryptography(NuGet) | = 2.0.0 | No fix listed |
| nuget BouncyCastle.Cryptography(NuGet) | = 2.1.0 | No fix listed |
| nuget BouncyCastle.Cryptography(NuGet) | = 2.1.1 | No fix listed |
| nuget BouncyCastle.Cryptography(NuGet) | = 2.2.0 | No fix listed |
| nuget BouncyCastle.Cryptography(NuGet) | = 2.2.1 | No fix listed |
| nuget BouncyCastle.Cryptography(NuGet) | = 2.3.0 | No fix listed |
| nuget BouncyCastle(NuGet) | < 2.3.1 | 2.3.1 |
| debian/bouncycastle(Debian:12) | All versions | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.72-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.77-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.86-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.86.2-1 | No fix listed |
| debian/bouncycastle(Debian:13) | < 1.80-1 | 1.80-1 |
| debian/bouncycastle(Debian:14) | < 1.80-1 | 1.80-1 |
| bouncycastle legion-of-the-bouncy-castle-java-crytography-api | < 1.78 | 1.78 |
| ubuntu/bouncycastle(Ubuntu:24.04) | < 1.77-1ubuntu0.1~esm1 | 1.77-1ubuntu0.1~esm1 |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | < 1.77-1ubuntu0.1~esm1 | 1.77-1ubuntu0.1~esm1 |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | = 1.72-2 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | = 1.77-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com issue-tracking patch
- github.com patch
- github.com
- github.com
- security.netapp.com
- www.bouncycastle.org issue-tracking
- github.com
- Debian Security Tracker CVE-2024-30172 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-8108-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com issue-tracking