{"answers":{"affected":"20 open source packages ship an affected version, including org.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15on.","exploited":"There is no known exploitation of CVE-2024-29857 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bc-fips to 1.0.2.5 or later.","what":"CVE-2024-29857 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-29857 and fix it if it is affected.\n\nWhat it is: CVE-2024-29857 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-29857 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2.5\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2.5\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bctls-jdk14 (Maven): affected all versions; fixed in 1.78\n- org.bouncycastle:bctls-jdk14 (Maven): affected all versions; 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-29857/ (Markdown: https://insights.sbomify.com/CVE-2024-29857/index.md)","id":"CVE-2024-29857","markdown":"https://insights.sbomify.com/CVE-2024-29857/index.md","name":"CVE-2024-29857","record":{"aliases":["CLEANSTART-2026-GK84785","CLEANSTART-2026-YK68946","CLSA-2026-1781052750","DEBIAN-CVE-2024-29857","GHSA-8xfc-gm6g-vgpv","MINI-783x-vwmm-xfm8","MINI-9xmp-p644-88qh","MINI-v62r-q6qv-f9r6","MINI-wv5h-xc2h-xhc5","ROOT-APP-MAVEN-CVE-2024-29857","UBUNTU-CVE-2024-29857","openSUSE-SU-2025:15739-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Bouncy Castle Java","requires_auth":"none","summary":"Attackers can cause excessive CPU consumption and denial of service by importing EC certificates with crafted F2m parameters in Bouncy Castle libraries.","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":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.","ecosystems":["Maven","NuGet","openSUSE:Tumbleweed"],"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 certificate parsing issues cause high CPU usage during parameter evaluation.","id":"CVE-2024-29857","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":21,"n_references":3,"next":{"headline":"File upload in n/a","id":"CVE-2024-29858"},"packages":[{"ecosystem":"Maven","fixed":["1.0.2.5"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.0.2.5"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":"pkg:maven/org.bouncycastle/bctls-jdk14","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":"pkg:nuget/BouncyCastle","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"NuGet","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle.Cryptography","purl":null,"source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"NuGet","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle.Cryptography","purl":"pkg:nuget/BouncyCastle.Cryptography","source":"GHSA-8xfc-gm6g-vgpv"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.5.13.4-1.1"],"introduced":["0"],"last_affected":[],"package":"itextpdf","purl":"pkg:rpm/opensuse/itextpdf\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15739-1"}],"prev":{"headline":"Hardcoded credentials in Recovery Orchestrator","id":"CVE-2024-29855"},"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["n/a"]},"summary":"Attackers can cause excessive CPU consumption and denial of service by importing EC certificates with crafted F2m parameters in Bouncy Castle libraries.","url":"https://insights.sbomify.com/CVE-2024-29857/"}