{"answers":{"affected":"18 open source packages ship an affected version, including org.bouncycastle:bc-fips, org.bouncycastle:bcprov-ext-jdk15on and org.bouncycastle:bcprov-ext-jdk16. It affects 4 products.","exploited":"There is no known exploitation of CVE-2020-15522 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bc-fips to 1.0.2.1 or later.","what":"CVE-2020-15522 is a medium-severity vulnerability in n/a, published on 20 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15522 and fix it if it is affected.\n\nWhat it is: CVE-2020-15522 is a medium-severity vulnerability in n/a, published on 20 May 2021. 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-2020-15522 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.1\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2.1\n- org.bouncycastle:bcprov-ext-jdk15on (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-ext-jdk15on (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-ext-jdk16 (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-ext-jdk16 (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.66\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.66\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-2020-15522/ (Markdown: https://insights.sbomify.com/CVE-2020-15522/index.md)","id":"CVE-2020-15522","markdown":"https://insights.sbomify.com/CVE-2020-15522/index.md","name":"CVE-2020-15522","record":{"aliases":["DEBIAN-CVE-2020-15522","GHSA-6xx3-rg99-gc3p","OESA-2021-1301","SUSE-SU-2021:2163-1","UBUNTU-CVE-2020-15522","openSUSE-SU-2021:0940-1","openSUSE-SU-2021:2163-1","openSUSE-SU-2024:12868-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Bouncy Castle crypto library","requires_auth":"none","summary":"Timing side-channel in EC math library allows attackers to recover private keys by observing signature generation times.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bc-csharp","vendor":"bouncycastle"},{"product":"bouncy_castle_fips_.net_api","vendor":"bouncycastle"},{"product":"fips_java_api","vendor":"bouncycastle"},{"product":"the_bouncy_castle_crypto_package_for_java","vendor":"bouncycastle"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","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-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Bouncy Castle BC Java before 1.66, BC C# .NET before 1.8.7, BC-FJA before 1.0.1.2, 1.0.2.1, and BC-FNA before 1.0.1.1 have a timing issue within the EC math library that can expose information about the private key when an attacker is able to observe timing information for the generation of multiple deterministic ECDSA signatures.","ecosystems":["Maven","NuGet","SUSE:Linux Enterprise Module for Development Tools 15 SP2","SUSE:Linux Enterprise Module for Development Tools 15 SP3","openSUSE:Leap 15.2","openSUSE:Leap 15.3"],"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":"Timing based private key exposure in Bouncy Castle","id":"CVE-2020-15522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":22,"n_references":4,"next":{"headline":"Path traversal in n/a","id":"CVE-2020-15523"},"packages":[{"ecosystem":"Maven","fixed":["1.0.2.1"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.0.2.1"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk15on","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk15on","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk16","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk16","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk16","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"Maven","fixed":["1.66"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-jdk16","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"NuGet","fixed":["1.8.7"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":null,"source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"NuGet","fixed":["1.8.7"],"introduced":["0"],"last_affected":[],"package":"BouncyCastle","purl":"pkg:nuget/BouncyCastle","source":"GHSA-6xx3-rg99-gc3p"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["1.64-3.3.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2021:2163-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["1.64-3.3.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/suse/bouncycastle\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2021:2163-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.64-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/opensuse/bouncycastle\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0940-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.64-3.3.1"],"introduced":["0"],"last_affected":[],"package":"bouncycastle","purl":"pkg:rpm/opensuse/bouncycastle\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:2163-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2020-15521"},"products":["n/a"],"published":"2021-05-20","related":[{"cvss_score":9.1,"headline":"MTI/A0 DHAgreement does not validate the peer's ephemeral value","id":"CVE-2026-63569","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Unbounded ASN.1 nesting depth causes process-terminating stack overflow","id":"CVE-2026-103600","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Unbounded HSS public key level count allows huge array allocation during signature verification","id":"CVE-2026-103603","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Quadratic-time escaping when converting X.509 distinguished names to strings","id":"CVE-2026-103604","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"KCcmBlockCipher (DSTU 7624 CCM) tag not bound to nonce when no associated data is used","id":"CVE-2026-16000","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"DTLS handshake reassembler allocates buffer from unchecked 24-bit length","id":"CVE-2026-63566","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Unbounded CMP/CRMF password-based MAC iteration count allows CPU exhaustion","id":"CVE-2026-63568","kev_date_added":null,"published":"2026-10-02"}],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Timing side-channel in EC math library allows attackers to recover private keys by observing signature generation times.","url":"https://insights.sbomify.com/CVE-2020-15522/"}