CVE-2024-30172: High severity maven/org.bouncycastle:bctls-jdk15to18 vulnerability

Published May 9, 2024
·
Updated

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.

Other sources

An issue was discovered in Bouncy Castle Java Cryptography APIs starting in 1.73 and before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.

— GitHub

The Bouncy Castle Crypto Package For Java is vulnerable to a denial of service, caused by an infinite loop in the Ed25519 verification code. By persuading a victim to use a specially crafted signature and public key, a remote attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

14 affected componentsFixes available
maven/org.bouncycastle:bctls-jdk15to18>=1.73<1.78
1.78
maven/org.bouncycastle:bctls-jdk14>=1.73<1.78
1.78
maven/org.bouncycastle:bctls-jdk18on>=1.73<1.78
1.78
maven/org.bouncycastle:bcprov-jdk14>=1.73<1.78
1.78
maven/org.bouncycastle:bcprov-jdk15to18>=1.73<1.78
1.78
maven/org.bouncycastle:bcprov-jdk18on>=1.73<1.78
1.78
nuget/bouncycastle.cryptography<2.3.1
2.3.1
nuget/bouncycastle<2.3.1
debian/bouncycastle*
debian/bouncycastle<1.80-1
1.80-1
debian/bouncycastle<1.80-1
1.80-1
redhat/org.bouncycastle-bcprov-jdk18on<1.78
1.78
debian/bouncycastle<=1.72-2
1.80-1
ubuntu/bouncycastle<1.77-1ubuntu0.1~esm1
1.77-1ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.bouncycastle:bctls-jdk15to18 to a version that resolves this vulnerability.

    Fixed in 1.78
  2. Upgrade

    Upgrade maven/org.bouncycastle:bctls-jdk14 to a version that resolves this vulnerability.

    Fixed in 1.78
  3. Upgrade

    Upgrade maven/org.bouncycastle:bctls-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.78
  4. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk14 to a version that resolves this vulnerability.

    Fixed in 1.78
  5. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk15to18 to a version that resolves this vulnerability.

    Fixed in 1.78
  6. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.78
  7. Upgrade

    Upgrade nuget/BouncyCastle.Cryptography to a version that resolves this vulnerability.

    Fixed in 2.3.1
  8. Upgrade

    Upgrade debian/bouncycastle to a version that resolves this vulnerability.

    Fixed in 1.80-1
  9. Upgrade

    Upgrade redhat/org.bouncycastle-bcprov-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.78
  10. Upgrade

    Upgrade ubuntu/bouncycastle to a version that resolves this vulnerability.

    Fixed in 1.77-1ubuntu0.1~esm1
  11. Upgrade

    Upgrade Bouncy Castle Java Cryptography APIs to a version that resolves this vulnerability.

    Fixed in 1.78

Event History

Jan 1, 1970
CVE Published
via MITRE·12:00 AM
May 9, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
May 14, 2024
Data Sourced
via OSV·03:21 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:21 PM
Description
Advisory Published
via GitHub·03:32 PM
Data Sourced
via GitHub·03:32 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·08:22 PM
Jun 19, 2024
Data Sourced
via Red Hat·02:58 AM
DescriptionSeverityAffected Software
Jul 5, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jul 12, 2024
Updated
via IBM·12:00 AM
Affected Software
Jul 18, 2024
Updated
via IBM·12:00 AM
Affected Software
Sep 9, 2024
Updated
via GitHub·09:32 PM
Affected Software
Oct 4, 2024
Updated
via IBM·12:00 AM
Affected Software
Oct 16, 2024
Updated
via IBM·12:00 AM
Affected Software
Oct 29, 2024
Updated
via IBM·12:00 AM
Affected Software
Nov 5, 2024
Data Sourced
via NVD·06:35 PM
Severity
Event
via NVD·06:35 PM
Nov 18, 2024
Updated
via IBM·12:00 AM
Affected Software
Dec 2, 2024
Updated
via GitHub·04:27 PM
DescriptionAffected Software
Dec 3, 2024
Updated
via IBM·12:00 AM
Affected Software
Dec 17, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 4, 2025
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-30172?

CVE-2024-30172 is considered a high severity vulnerability due to its potential to cause denial of service via an infinite loop.

2

How do I fix CVE-2024-30172?

To fix CVE-2024-30172, upgrade to Bouncy Castle Java Cryptography APIs version 1.78 or later.

3

What software is affected by CVE-2024-30172?

CVE-2024-30172 affects multiple Bouncy Castle packages and versions prior to 1.78.

4

What kind of issue is described in CVE-2024-30172?

CVE-2024-30172 involves an infinite loop issue in Ed25519 verification due to crafted signatures and public keys.

5

Can CVE-2024-30172 be exploited remotely?

Yes, the infinite loop vulnerability in CVE-2024-30172 can potentially be exploited remotely by delivering a malicious signature.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203