{"answers":{"affected":"16 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15to18 and org.bouncycastle:bcprov-jdk18on.","exploited":"There is no known exploitation of CVE-2024-30172 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcprov-jdk14 to 1.78 or later.","what":"CVE-2024-30172 is a high-severity denial of service vulnerability in n/a, published on 9 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-30172 and fix it if it is affected.\n\nWhat it is: CVE-2024-30172 is a high-severity denial of service vulnerability in n/a, published on 9 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-30172 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bctls-jdk14 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bctls-jdk14 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bctls-jdk15to18 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bctls-jdk15to18 (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bctls-jdk18on (Maven): affected from 1.73; fixed in 1.78\n- org.bouncycastle:bctls-jdk18on (Maven): affected from 1.73; fixed in 1.78\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-30172/ (Markdown: https://insights.sbomify.com/CVE-2024-30172/index.md)","id":"CVE-2024-30172","markdown":"https://insights.sbomify.com/CVE-2024-30172/index.md","name":"CVE-2024-30172","record":{"aliases":["CLEANSTART-2026-QI18295","DEBIAN-CVE-2024-30172","GHSA-m44j-cfrm-g8qc","ROOT-APP-MAVEN-CVE-2024-30172","UBUNTU-CVE-2024-30172"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Attackers can cause a denial of service in applications using Bouncy Castle by submitting crafted Ed25519 signatures that trigger an infinite loop.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"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.","ecosystems":["Maven","NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Bouncy Castle crafted signature and public key can be used to trigger an infinite loop","id":"CVE-2024-30172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":16,"n_references":2,"next":{"headline":"Information disclosure in n/a","id":"CVE-2024-30176"},"packages":[{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":"pkg:maven/org.bouncycastle/bctls-jdk14","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.73"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":"pkg:nuget/BouncyCastle","source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"NuGet","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle.Cryptography","purl":null,"source":"GHSA-m44j-cfrm-g8qc"},{"ecosystem":"NuGet","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle.Cryptography","purl":"pkg:nuget/BouncyCastle.Cryptography","source":"GHSA-m44j-cfrm-g8qc"}],"prev":{"headline":"Bouncy Castle affected by timing side-channel for RSA key exchange (\"The Marvin Attack\")","id":"CVE-2024-30171"},"products":["n/a"],"published":"2024-05-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-05","vendors":["n/a"]},"summary":"Attackers can cause a denial of service in applications using Bouncy Castle by submitting crafted Ed25519 signatures that trigger an infinite loop.","url":"https://insights.sbomify.com/CVE-2024-30172/"}