{"answers":{"affected":"20 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15on and org.bouncycastle:bcprov-jdk15to18.","exploited":"There is no known exploitation of CVE-2024-30171 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcprov-jdk14 to 1.78 or later.","what":"CVE-2024-30171 is a medium-severity 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-30171 and fix it if it is affected.\n\nWhat it is: CVE-2024-30171 is a medium-severity 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-30171 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\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-fips (Maven): affected all versions; fixed in 1.0.19\n- org.bouncycastle:bctls-fips (Maven): affected all versions; fixed in 1.0.19\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-30171/ (Markdown: https://insights.sbomify.com/CVE-2024-30171/index.md)","id":"CVE-2024-30171","markdown":"https://insights.sbomify.com/CVE-2024-30171/index.md","name":"CVE-2024-30171","record":{"aliases":["CLEANSTART-2026-XT25506","CLEANSTART-2026-YR80525","DEBIAN-CVE-2024-30171","GHSA-v435-xc8x-wvr9","MINI-j94h-8875-98rh","ROOT-APP-MAVEN-CVE-2024-30171","SUSE-SU-2024:1539-1","SUSE-SU-2024:1539-2","UBUNTU-CVE-2024-30171"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java TLS library","requires_auth":"none","summary":"Attackers can exploit timing side-channels in RSA handshakes to leak sensitive information from Bouncy Castle Java TLS implementations.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"description":"An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78. Timing-based leakage may occur in RSA based handshakes because of exception processing.","ecosystems":["Maven","NuGet","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","openSUSE:Leap 15.5","openSUSE:Leap 15.6"],"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 affected by timing side-channel for RSA key exchange (\"The Marvin Attack\")","id":"CVE-2024-30171","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":35,"n_references":4,"next":{"headline":"Bouncy Castle crafted signature and public key can be used to trigger an infinite loop","id":"CVE-2024-30172"},"packages":[{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.0.19"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-fips","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.0.19"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-fips","purl":"pkg:maven/org.bouncycastle/bctls-fips","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":"pkg:maven/org.bouncycastle/bctls-jdk14","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"NuGet","fixed":[],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":"pkg:nuget/BouncyCastle","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"NuGet","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle.Cryptography","purl":null,"source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"NuGet","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle.Cryptography","purl":"pkg:nuget/BouncyCastle.Cryptography","source":"GHSA-v435-xc8x-wvr9"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2024:1539-2"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/opensuse/bouncycastle\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1539-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.78.1-150200.3.29.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/opensuse/bouncycastle\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:1539-2"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2024-30170"},"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":"SUSE"},{"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":"2024-08-19","vendors":["n/a"]},"summary":"Attackers can exploit timing side-channels in RSA handshakes to leak sensitive information from Bouncy Castle Java TLS implementations.","url":"https://insights.sbomify.com/CVE-2024-30171/"}