{"answers":{"affected":"3 open source packages ship an affected version, including m2crypto. It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-50781 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-50781 is a high-severity vulnerability in Redhat Enterprise Linux, published on 5 Feb 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-2023-50781 and fix it if it is affected.\n\nWhat it is: CVE-2023-50781 is a high-severity vulnerability in Redhat Enterprise Linux, published on 5 Feb 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-2023-50781 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- m2crypto (PyPI): affected all versions up to 0.40.1; no fix listed\n- m2crypto (PyPI): affected all versions up to 0.40.1; no fix listed\n- m2crypto (PyPI): affected all versions up to 0.40.1; no fix listed\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-50781/ (Markdown: https://insights.sbomify.com/CVE-2023-50781/index.md)","id":"CVE-2023-50781","markdown":"https://insights.sbomify.com/CVE-2023-50781/index.md","name":"CVE-2023-50781","record":{"aliases":["AZL-101841","DEBIAN-CVE-2023-50781","GHSA-944j-8ch6-rf6x","PYSEC-2026-1595","UBUNTU-CVE-2023-50781"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python crypto library","requires_auth":"none","summary":"A remote attacker can decrypt captured TLS messages using RSA key exchanges via timing attacks, exposing sensitive data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"m2crypto","vendor":"m2crypto_project"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"update_infrastructure","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"description":"A flaw was found in m2crypto. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.","ecosystems":["PyPI"],"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":"M2crypto: bleichenbacher timing attacks in the rsa decryption api - incomplete fix for cve-2020-25657","id":"CVE-2023-50781","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"information_disclosure","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659","id":"CVE-2023-50782"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.40.1"],"package":"m2crypto","purl":null,"source":"GHSA-944j-8ch6-rf6x"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.40.1"],"package":"m2crypto","purl":"pkg:pypi/m2crypto","source":"GHSA-944j-8ch6-rf6x"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.40.1"],"package":"m2crypto","purl":"pkg:pypi/m2crypto","source":"PYSEC-2026-1595"}],"prev":{"headline":"Apache ActiveMQ Artemis: Authenticated users could perform RCE via Jolokia MBeans","id":"CVE-2023-50780"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Update Infrastructure 4 for Cloud Providers","Red Hat Virtualization 4"],"published":"2024-02-05","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":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["Red Hat"]},"summary":"A remote attacker can decrypt captured TLS messages using RSA key exchanges via timing attacks, exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2023-50781/"}