{"answers":{"affected":"3 open source packages ship an affected version, including cryptography. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-25659 in the wild and no public exploit code.","fix":"Upgrade cryptography to a fixed version for your release line: 3.2 or 3.2.1.","what":"CVE-2020-25659 is a medium-severity vulnerability in python-cryptography, published on 11 Jan 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-25659 and fix it if it is affected.\n\nWhat it is: CVE-2020-25659 is a medium-severity vulnerability in python-cryptography, published on 11 Jan 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-25659 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cryptography (PyPI): affected all versions; fixed in 3.2\n- cryptography (PyPI): affected all versions; fixed in 3.2\n- cryptography (PyPI): affected all versions; fixed in 3.2.1\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-25659/ (Markdown: https://insights.sbomify.com/CVE-2020-25659/index.md)","id":"CVE-2020-25659","markdown":"https://insights.sbomify.com/CVE-2020-25659/index.md","name":"CVE-2020-25659","record":{"aliases":["ALPINE-CVE-2020-25659","DEBIAN-CVE-2020-25659","GHSA-hggm-jpg3-v476","MGASA-2020-0438","MINI-v93q-6867-pj79","PYSEC-2021-62","SUSE-RU-2022:2355-1","SUSE-SU-2020:3592-1","SUSE-SU-2020:3629-1","UBUNTU-CVE-2020-25659","USN-4613-1","openSUSE-SU-2020:2173-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python cryptography library","requires_auth":"none","summary":"Attackers can exploit timing side-channels in RSA decryption to potentially recover plaintext, affecting applications using the python-cryptography library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cryptography","vendor":"cryptography.io"},{"product":"communications_cloud_native_core_network_function_cloud_native_environment","vendor":"oracle"}],"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-385","name":"Covert Timing Channel"}],"description":"python-cryptography 3.2 is vulnerable to Bleichenbacher timing attacks in the RSA decryption API, via timed processing of valid PKCS#1 v1.5 ciphertext.","ecosystems":["PyPI","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Python 2 15 SP2","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.2","openSUSE:Leap 15.4"],"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":"RSA decryption vulnerable to Bleichenbacher timing vulnerability","id":"CVE-2020-25659","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":26,"n_references":3,"next":{"headline":"Auth bypass in ceph","id":"CVE-2020-25660"},"packages":[{"ecosystem":"PyPI","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"cryptography","purl":null,"source":"GHSA-hggm-jpg3-v476"},{"ecosystem":"PyPI","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"cryptography","purl":"pkg:pypi/cryptography","source":"GHSA-hggm-jpg3-v476"},{"ecosystem":"PyPI","fixed":["3.2.1"],"introduced":["0"],"last_affected":[],"package":"cryptography","purl":"pkg:pypi/cryptography","source":"PYSEC-2021-62"},{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["2.8-3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2020:3592-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["3.3.2-150400.16.3.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-RU-2022:2355-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 2 15 SP2","fixed":["2.8-3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%202%2015%20SP2","source":"SUSE-SU-2020:3592-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["2.1.4-7.31.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/suse/python-cryptography\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2020:3629-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["2.8-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/opensuse/python-cryptography\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:2173-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.3.2-150400.16.3.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/opensuse/python-cryptography\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-RU-2022:2355-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.3.2-150400.7.3.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-vectors","purl":"pkg:rpm/opensuse/python-cryptography-vectors\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-RU-2022:2355-1"}],"prev":{"headline":"Timing attacks in python-rsa","id":"CVE-2020-25658"},"products":["python-cryptography"],"published":"2021-01-11","related":[{"cvss_score":9.1,"headline":"PyCA Cryptography symmetrically encrypting large values can lead to integer overflow","id":"CVE-2020-36242","kev_date_added":null,"published":"2021-02-07"},{"cvss_score":8.2,"headline":"cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves","id":"CVE-2026-26007","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":7.5,"headline":"cryptography NULL pointer dereference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override","id":"CVE-2024-26130","kev_date_added":null,"published":"2024-02-21"},{"cvss_score":7.5,"headline":"cryptography mishandles SSH certificates","id":"CVE-2023-38325","kev_date_added":null,"published":"2023-07-14"},{"cvss_score":6.9,"headline":"cryptography has a buffer overflow if non-contiguous buffers were passed to APIs","id":"CVE-2026-39892","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":5.9,"headline":"cryptography vulnerable to NULL-dereference when loading PKCS7 certificates","id":"CVE-2023-49083","kev_date_added":null,"published":"2023-11-29"}],"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":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"Attackers can exploit timing side-channels in RSA decryption to potentially recover plaintext, affecting applications using the python-cryptography library.","url":"https://insights.sbomify.com/CVE-2020-25659/"}