{"answers":{"affected":"It affects 18 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-0235 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2015-0235 is a critical memory corruption vulnerability in Apple Mac Os X, published on 28 Jan 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-0235 and fix it if it is affected.\n\nWhat it is: CVE-2015-0235 is a critical memory corruption vulnerability in Apple Mac Os X, published on 28 Jan 2015. 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-2015-0235 exists.\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-2015-0235/ (Markdown: https://insights.sbomify.com/CVE-2015-0235/index.md)","id":"CVE-2015-0235","markdown":"https://insights.sbomify.com/CVE-2015-0235/index.md","name":"CVE-2015-0235","record":{"aliases":["DEBIAN-CVE-2015-0235","DLA-139-1","GHSA-jwcp-p679-fcr4","RHSA-2015:0090","RHSA-2015:0092","RHSA-2015:0099","RHSA-2015:0101"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"glibc library","requires_auth":"none","summary":"Heap-based buffer overflow in glibc allows remote attackers to execute arbitrary code via crafted hostname inputs to gethostbyname functions.","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":"debian_linux","vendor":"debian"},{"product":"glibc","vendor":"gnu"},{"product":"pureapplication_system","vendor":"ibm"},{"product":"security_access_manager_for_enterprise_single_sign-on","vendor":"ibm"},{"product":"communications_application_session_controller","vendor":"oracle"},{"product":"communications_eagle_application_processor","vendor":"oracle"},{"product":"communications_eagle_lnp_application_processor","vendor":"oracle"},{"product":"communications_lsms","vendor":"oracle"},{"product":"communications_policy_management","vendor":"oracle"},{"product":"communications_session_border_controller","vendor":"oracle"},{"product":"communications_user_data_repository","vendor":"oracle"},{"product":"communications_webrtc_session_controller","vendor":"oracle"},{"product":"exalogic_infrastructure","vendor":"oracle"},{"product":"linux","vendor":"oracle"},{"product":"vm_virtualbox","vendor":"oracle"},{"product":"php","vendor":"php"},{"product":"virtualization","vendor":"redhat"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-dependent attackers to execute arbitrary code via vectors related to the (1) gethostbyname or (2) gethostbyname2 function, aka \"GHOST.\"","ecosystems":["Red Hat:enterprise_linux:5::client","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:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_els:4::as","Red Hat:rhel_els:4::es","Red Hat:rhel_eus:5.9","Red Hat:rhel_eus:6.4::computenode","Red Hat:rhel_eus:6.4::server","Red Hat:rhel_eus:6.5::computenode","Red Hat:rhel_eus:6.5::server","Red Hat:rhel_mission_critical:5.6","Red Hat:rhel_mission_critical:6.2::server"],"exploits":{"exploitdb":2,"first_seen":"2015-01-27","github_poc":16,"max_poc_stars":15,"metasploit":2,"nuclei":0,"refs":[{"date":"2015-01-27T23:45:22Z","kind":"github_poc","ref":"https://github.com/aaronfay/CVE-2015-0235-test","stars":15,"title":"Ansible playbook to check vulnerability for CVE-2015-0235"},{"date":"2015-01-27T17:31:33Z","kind":"github_poc","ref":"https://github.com/fser/ghost-checker","stars":6,"title":"Test wether you're exposed to ghost (CVE-2015-0235). All kudos go to Qualys Security"},{"date":"2015-02-02T11:16:42Z","kind":"github_poc","ref":"https://github.com/makelinux/CVE-2015-0235-workaround","stars":6,"title":"A shared library wrapper with additional checks for vulnerable functions gethostbyname2_r gethostbyname_r (GHOST vulnerability)"},{"date":"2015-03-28T01:26:05Z","kind":"github_poc","ref":"https://github.com/arm13/ghost_exploit","stars":4,"title":"CVE-2015-0235 EXIM ESTMP GHOST Glibc Gethostbyname() DoS Exploit/PoC"},{"date":"2015-01-27T20:34:42Z","kind":"github_poc","ref":"https://github.com/mikesplain/CVE-2015-0235-cookbook","stars":3,"title":"A chef cookbook to test the GHOST vulnerability"},{"date":"2015-01-28T11:20:16Z","kind":"github_poc","ref":"https://github.com/furyutei/CVE-2015-0235_GHOST","stars":1,"title":null},{"date":"2015-01-28T21:22:33Z","kind":"github_poc","ref":"https://github.com/adherzog/ansible-CVE-2015-0235-GHOST","stars":1,"title":"Ansible playbook, to check for CVE-2015-0235 (GHOST) vulnerability"},{"date":"2015-01-29T04:58:54Z","kind":"github_poc","ref":"https://github.com/nickanderson/cfengine-CVE_2015_0235","stars":1,"title":"gethostbyname*() buffer overflow exploit in glibc - CVE-2015-0235 https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2015-0235","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","debian:debian_linux","gnu:glibc","oracle:communications_policy_management","oracle:linux","oracle:vm_virtualbox","php:php","redhat:virtualization"],"type":"memory_corruption","year":"2015"},"n_packages":169,"n_references":92,"next":{"headline":"Information disclosure in n/a","id":"CVE-2015-0236"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-123.el5_11.1"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2015:0090"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-static","purl":"pkg:rpm/redhat/glibc-static","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-static","purl":"pkg:rpm/redhat/glibc-static","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2015:0092"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.149.el6_6.5"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2015:0092"}],"prev":{"headline":"Other in n/a","id":"CVE-2015-0234"},"products":["n/a"],"published":"2015-01-28","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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Heap-based buffer overflow in glibc allows remote attackers to execute arbitrary code via crafted hostname inputs to gethostbyname functions.","url":"https://insights.sbomify.com/CVE-2015-0235/"}