{"answers":{"affected":"3 open source packages ship an affected version, including cryptography. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49083 exists.","fix":"Upgrade cryptography to 41.0.6 or later.","what":"CVE-2023-49083 is a medium-severity vulnerability in pyca cryptography, published on 29 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-49083 and fix it if it is affected.\n\nWhat it is: CVE-2023-49083 is a medium-severity vulnerability in pyca cryptography, published on 29 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49083 exists.\n\nAffected packages and fixed versions:\n- cryptography (PyPI): affected from 3.1; fixed in 41.0.6\n- cryptography (PyPI): affected from 3.1; fixed in 41.0.6\n- cryptography (PyPI): affected from 3.1; fixed in 41.0.6\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-2023-49083/ (Markdown: https://insights.sbomify.com/CVE-2023-49083/index.md)","id":"CVE-2023-49083","markdown":"https://insights.sbomify.com/CVE-2023-49083/index.md","name":"CVE-2023-49083","record":{"aliases":["ALSA-2024:2337","ALSA-2024:3105","ALSA-2025:14553","ALSA-2025:15874","AZL-32051","AZL-35128","BELL-CVE-2023-49083","CLSA-2025-1763137741","CLSA-2026-1772151045","DEBIAN-CVE-2023-49083","ECHO-d605-0006-a094","GHSA-jfhm-5ghh-2f97","OESA-2023-1887","PYSEC-2023-254","RHSA-2024:10965","RHSA-2024:2337","RHSA-2024:3105","RHSA-2025:13098","RHSA-2025:13100","RHSA-2025:13101","RHSA-2025:13102","RHSA-2025:13103","RHSA-2025:13104","RHSA-2025:14553","RHSA-2025:15874","RLSA-2024:2337","RLSA-2024:3105","RLSA-2025:14553","RLSA-2025:15874","ROOT-APP-PYPI-CVE-2023-49083","SUSE-SU-2023:4842-1","SUSE-SU-2023:4843-1","SUSE-SU-2023:4844-1","SUSE-SU-2023:4921-1","SUSE-SU-2024:2375-1","UBUNTU-CVE-2023-49083","openSUSE-SU-2024:13472-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python cryptography library","requires_auth":"none","summary":"Attackers can cause a denial of service by triggering a null pointer dereference when loading malformed PKCS7 certificates.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cryptography","vendor":"cryptography.io"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Calling `load_pem_pkcs7_certificates` or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference and segfault. Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability. This vulnerability has been patched in version 41.0.6.","ecosystems":["AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP1","SUSE:Linux Enterprise Module for Python 3 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"cryptography vulnerable to NULL-dereference when loading PKCS7 certificates","id":"CVE-2023-49083","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"null_dereference","year":"2023"},"n_packages":86,"n_references":4,"next":{"headline":"Local File Inclusion (RCE) in Cacti","id":"CVE-2023-49084"},"packages":[{"ecosystem":"PyPI","fixed":["41.0.6"],"introduced":["3.1"],"last_affected":[],"package":"cryptography","purl":null,"source":"GHSA-jfhm-5ghh-2f97"},{"ecosystem":"PyPI","fixed":["41.0.6"],"introduced":["3.1"],"last_affected":[],"package":"cryptography","purl":"pkg:pypi/cryptography","source":"GHSA-jfhm-5ghh-2f97"},{"ecosystem":"PyPI","fixed":["41.0.6"],"introduced":["3.1"],"last_affected":[],"package":"cryptography","purl":"pkg:pypi/cryptography","source":"PYSEC-2023-254"},{"ecosystem":"AlmaLinux:8","fixed":["3.2.1-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/almalinux/python3-cryptography","source":"ALSA-2025:14553"},{"ecosystem":"AlmaLinux:8","fixed":["37.0.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography","purl":"pkg:rpm/almalinux/python3.11-cryptography","source":"ALSA-2024:3105"},{"ecosystem":"AlmaLinux:9","fixed":["36.0.1-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/almalinux/python3-cryptography","source":"ALSA-2025:15874"},{"ecosystem":"AlmaLinux:9","fixed":["37.0.2-6.el9"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography","purl":"pkg:rpm/almalinux/python3.11-cryptography","source":"ALSA-2024:2337"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:37.0.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography","purl":"pkg:rpm/redhat/python3.11-cryptography","source":"RHSA-2024:3105"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:37.0.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3.11-cryptography-debuginfo","source":"RHSA-2024:3105"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:37.0.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography-debugsource","purl":"pkg:rpm/redhat/python3.11-cryptography-debugsource","source":"RHSA-2024:3105"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.2.1-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:14553"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.2.1-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:14553"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.2.1-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:14553"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.2.1-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3-cryptography-debuginfo","source":"RHSA-2025:14553"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:37.0.2-6.el9"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography","purl":"pkg:rpm/redhat/python3.11-cryptography","source":"RHSA-2024:2337"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:37.0.2-6.el9"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3.11-cryptography-debuginfo","source":"RHSA-2024:2337"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:37.0.2-6.el9"],"introduced":["0"],"last_affected":[],"package":"python3.11-cryptography-debugsource","purl":"pkg:rpm/redhat/python3.11-cryptography-debugsource","source":"RHSA-2024:2337"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:36.0.1-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:15874"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:36.0.1-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:15874"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:36.0.1-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:15874"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:36.0.1-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3-cryptography-debuginfo","source":"RHSA-2025:15874"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.2.1-4.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:13098"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.2.1-4.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:13098"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.2.1-4.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:13098"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.2.1-4.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3-cryptography-debuginfo","source":"RHSA-2025:13098"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3-cryptography-debuginfo","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.2.1-5.1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3-cryptography-debuginfo","source":"RHSA-2025:13104"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.2.1-6.el8_8"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:13100"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.2.1-6.el8_8"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:13100"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.2.1-6.el8_8"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:13100"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.2.1-6.el8_8"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography-debuginfo","purl":"pkg:rpm/redhat/python3-cryptography-debuginfo","source":"RHSA-2025:13100"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:36.0.1-1.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography","purl":"pkg:rpm/redhat/python-cryptography","source":"RHSA-2025:13102"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:36.0.1-1.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"python-cryptography-debugsource","purl":"pkg:rpm/redhat/python-cryptography-debugsource","source":"RHSA-2025:13102"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:36.0.1-1.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"python3-cryptography","purl":"pkg:rpm/redhat/python3-cryptography","source":"RHSA-2025:13102"}],"prev":{"headline":"aiohttp's ClientSession is vulnerable to CRLF injection via method","id":"CVE-2023-49082"},"products":["cryptography"],"published":"2023-11-29","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":"RSA decryption vulnerable to Bleichenbacher timing vulnerability","id":"CVE-2020-25659","kev_date_added":null,"published":"2021-01-11"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"Red Hat","prefix":"RHSA"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-18","vendors":["pyca"]},"summary":"Attackers can cause a denial of service by triggering a null pointer dereference when loading malformed PKCS7 certificates.","url":"https://insights.sbomify.com/CVE-2023-49083/"}