{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2013-6420 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2013-6420 is a high-severity memory corruption vulnerability in Apple Mac Os X, published on 17 Dec 2013. 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-6420 and fix it if it is affected.\n\nWhat it is: CVE-2013-6420 is a high-severity memory corruption vulnerability in Apple Mac Os X, published on 17 Dec 2013. 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-6420 in the wild and no public exploit code.\n\nAffected product: Apple Mac Os X. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-6420/ (Markdown: https://insights.sbomify.com/CVE-2013-6420/index.md)","id":"CVE-2013-6420","markdown":"https://insights.sbomify.com/CVE-2013-6420/index.md","name":"CVE-2013-6420","record":{"aliases":["GHSA-m6pq-hhvx-694c","RHSA-2013:1813","RHSA-2013:1815","RHSA-2013:1824","RHSA-2013:1825","RHSA-2013:1826"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP OpenSSL extension","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or cause denial of service via crafted X.509 certificates due to improper timestamp parsing in PHP's OpenSSL extension.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"mac_os_x","vendor":"apple"},{"product":"opensuse","vendor":"opensuse"},{"product":"php","vendor":"php"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.","ecosystems":["Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server","Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:rhel_els:3::as","Red Hat:rhel_els:3::es","Red Hat:rhel_els:4::as","Red Hat:rhel_els:4::es","Red Hat:rhel_eus:5.6","Red Hat:rhel_eus:5.9","Red Hat:rhel_eus:6.2::computenode","Red Hat:rhel_eus:6.2::server","Red Hat:rhel_eus:6.3::computenode","Red Hat:rhel_eus:6.3::server","Red Hat:rhel_eus:6.4::computenode","Red Hat:rhel_eus:6.4::server","Red Hat:rhel_mission_critical:5.3","Red Hat:rhel_software_collections:1::el6"],"exploits":{"exploitdb":1,"first_seen":"2013-12-17","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2013-12-17","kind":"exploitdb","ref":"30395","stars":null,"title":"PHP - 'openssl_x509_parse()' Memory Corruption"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2013-6420","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","opensuse:opensuse","php:php"],"type":"memory_corruption","year":"2013"},"n_packages":496,"n_references":20,"next":{"headline":"sprout Arbitrary Code Execution vulnerability","id":"CVE-2013-6421"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53","purl":"pkg:rpm/redhat/php53","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-bcmath","purl":"pkg:rpm/redhat/php53-bcmath","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-cli","purl":"pkg:rpm/redhat/php53-cli","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-common","purl":"pkg:rpm/redhat/php53-common","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-dba","purl":"pkg:rpm/redhat/php53-dba","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-debuginfo","purl":"pkg:rpm/redhat/php53-debuginfo","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-devel","purl":"pkg:rpm/redhat/php53-devel","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-gd","purl":"pkg:rpm/redhat/php53-gd","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-imap","purl":"pkg:rpm/redhat/php53-imap","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-intl","purl":"pkg:rpm/redhat/php53-intl","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-ldap","purl":"pkg:rpm/redhat/php53-ldap","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-mbstring","purl":"pkg:rpm/redhat/php53-mbstring","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-mysql","purl":"pkg:rpm/redhat/php53-mysql","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-odbc","purl":"pkg:rpm/redhat/php53-odbc","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-pdo","purl":"pkg:rpm/redhat/php53-pdo","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-pgsql","purl":"pkg:rpm/redhat/php53-pgsql","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-process","purl":"pkg:rpm/redhat/php53-process","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-pspell","purl":"pkg:rpm/redhat/php53-pspell","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-snmp","purl":"pkg:rpm/redhat/php53-snmp","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-soap","purl":"pkg:rpm/redhat/php53-soap","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-xml","purl":"pkg:rpm/redhat/php53-xml","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-xmlrpc","purl":"pkg:rpm/redhat/php53-xmlrpc","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53","purl":"pkg:rpm/redhat/php53","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-bcmath","purl":"pkg:rpm/redhat/php53-bcmath","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-cli","purl":"pkg:rpm/redhat/php53-cli","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-common","purl":"pkg:rpm/redhat/php53-common","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-dba","purl":"pkg:rpm/redhat/php53-dba","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-debuginfo","purl":"pkg:rpm/redhat/php53-debuginfo","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-devel","purl":"pkg:rpm/redhat/php53-devel","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-gd","purl":"pkg:rpm/redhat/php53-gd","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-imap","purl":"pkg:rpm/redhat/php53-imap","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-intl","purl":"pkg:rpm/redhat/php53-intl","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-ldap","purl":"pkg:rpm/redhat/php53-ldap","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-mbstring","purl":"pkg:rpm/redhat/php53-mbstring","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-mysql","purl":"pkg:rpm/redhat/php53-mysql","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-odbc","purl":"pkg:rpm/redhat/php53-odbc","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-pdo","purl":"pkg:rpm/redhat/php53-pdo","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-pgsql","purl":"pkg:rpm/redhat/php53-pgsql","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-process","purl":"pkg:rpm/redhat/php53-process","source":"RHSA-2013:1813"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.3.3-22.el5_10"],"introduced":["0"],"last_affected":[],"package":"php53-pspell","purl":"pkg:rpm/redhat/php53-pspell","source":"RHSA-2013:1813"}],"prev":{"headline":"OpenStack Nova Router metadata queries are not restricted by tenant","id":"CVE-2013-6419"},"products":["n/a"],"published":"2013-12-17","related":[{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-7169","kev_date_added":"2022-01-28","published":"2014-09-25"},{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-6271","kev_date_added":"2022-01-28","published":"2014-09-24"},{"cvss_score":9.8,"headline":"PHP-CGI Query String Parameter","id":"CVE-2012-1823","kev_date_added":"2022-03-25","published":"2012-05-11"},{"cvss_score":7.8,"headline":"Apple macOS Unspecified","id":"CVE-2021-30713","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":7.8,"headline":"Apple macOS Use-After-Free","id":"CVE-2019-8526","kev_date_added":"2023-04-17","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple OS X Authentication Bypass","id":"CVE-2015-1130","kev_date_added":"2022-02-10","published":"2015-04-10"},{"cvss_score":5.5,"headline":"Apple macOS Out-of-Bounds Read","id":"CVE-2022-22674","kev_date_added":"2022-04-04","published":"2022-05-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or cause denial of service via crafted X.509 certificates due to improper timestamp parsing in PHP's OpenSSL extension.","url":"https://insights.sbomify.com/CVE-2013-6420/"}