{"answers":{"affected":"3 open source packages ship an affected version, including pycrypto. It affects 2 products.","exploited":"There is no known exploitation of CVE-2013-7459 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2013-7459 is a critical memory corruption vulnerability in Fedoraproject Fedora, published on 15 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-7459 and fix it if it is affected.\n\nWhat it is: CVE-2013-7459 is a critical memory corruption vulnerability in Fedoraproject Fedora, published on 15 Feb 2017. 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-2013-7459 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pycrypto (PyPI): affected all versions; no fix listed\n- pycrypto (PyPI): affected all versions up to 2.6.1; no fix listed\n- pycrypto (PyPI): affected all versions up to 2.6.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-2013-7459/ (Markdown: https://insights.sbomify.com/CVE-2013-7459/index.md)","id":"CVE-2013-7459","markdown":"https://insights.sbomify.com/CVE-2013-7459/index.md","name":"CVE-2013-7459","record":{"aliases":["DLA-773-1","GHSA-cq27-v7xp-c356","MGASA-2017-0032","PYSEC-2017-94","SUSE-SU-2017:1744-1","SUSE-SU-2017:2350-1","UBUNTU-CVE-2013-7459","USN-3199-1","USN-3199-2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python Cryptography Toolkit","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via a heap-based buffer overflow in the Python Cryptography Toolkit's ALGnew function.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pycrypto","vendor":"dlitz"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py.","ecosystems":["PyPI","SUSE:Enterprise Storage 3","SUSE:Enterprise Storage 4","SUSE:Linux Enterprise Module for Advanced Systems Management 12","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Linux Enterprise Point of Sale 12 SP2","SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS","SUSE:Linux Enterprise Server 11 SP4-CLIENT-TOOLS","SUSE:Manager Client Tools 12","SUSE:Manager Proxy 3.0","SUSE:Manager Proxy 3.1","SUSE:Manager Server 3.0","SUSE:Manager Server 3.1","SUSE:OpenStack Cloud 6","SUSE:OpenStack Cloud 7"],"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":"Buffer Overflow in pycrypto","id":"CVE-2013-7459","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"memory_corruption","year":"2013"},"n_packages":21,"n_references":9,"next":{"headline":"Security feature bypass in Application Control (MAC)","id":"CVE-2013-7460"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":[],"package":"pycrypto","purl":"pkg:pypi/pycrypto","source":"PYSEC-2017-94"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.6.1"],"package":"pycrypto","purl":null,"source":"GHSA-cq27-v7xp-c356"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.6.1"],"package":"pycrypto","purl":"pkg:pypi/pycrypto","source":"GHSA-cq27-v7xp-c356"},{"ecosystem":"SUSE:Enterprise Storage 3","fixed":["1.15.2-2.3.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Enterprise%20Storage%203","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Enterprise Storage 3","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Enterprise%20Storage%203","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Advanced Systems Management 12","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Advanced%20Systems%20Management%2012","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["1.15.2-2.6.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 12 SP2","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2012%20SP2","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS","fixed":["2.6.1-5.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-CLIENT-TOOLS","source":"SUSE-SU-2017:1744-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-CLIENT-TOOLS","fixed":["2.6.1-5.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-CLIENT-TOOLS","source":"SUSE-SU-2017:1744-1"},{"ecosystem":"SUSE:Manager Client Tools 12","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Manager%20Client%20Tools%2012","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Manager Proxy 3.0","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Manager%20Proxy%203.0","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Manager Proxy 3.1","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Manager%20Proxy%203.1","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Manager Server 3.0","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Manager%20Server%203.0","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:Manager Server 3.1","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20Manager%20Server%203.1","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:OpenStack Cloud 6","fixed":["1.15.2-2.3.1"],"introduced":["0"],"last_affected":[],"package":"python-paramiko","purl":"pkg:rpm/suse/python-paramiko\u0026distro=SUSE%20OpenStack%20Cloud%206","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:OpenStack Cloud 6","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20OpenStack%20Cloud%206","source":"SUSE-SU-2017:2350-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["2.6.1-10.3.1"],"introduced":["0"],"last_affected":[],"package":"python-pycrypto","purl":"pkg:rpm/suse/python-pycrypto\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2017:2350-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2013-7458"},"products":["n/a"],"published":"2017-02-15","related":[{"cvss_score":4.3,"headline":"PyCrypto does not properly reseed PRNG before allowing access","id":"CVE-2013-1445","kev_date_added":null,"published":"2013-10-26"},{"cvss_score":4.3,"headline":"PyCrypto makes Use of Insufficiently Random Values","id":"CVE-2012-2417","kev_date_added":null,"published":"2012-06-17"}],"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":"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-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via a heap-based buffer overflow in the Python Cryptography Toolkit's ALGnew function.","url":"https://insights.sbomify.com/CVE-2013-7459/"}