{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-3847 exists.","fix":"Apply the vendor's patch.","what":"CVE-2010-3847 is a medium-severity vulnerability in Gnu Glibc, published on 7 Jan 2011. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-3847 and fix it if it is affected.\n\nWhat it is: CVE-2010-3847 is a medium-severity vulnerability in Gnu Glibc, published on 7 Jan 2011. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-3847 exists.\n\nAffected product: Gnu Glibc. 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-2010-3847/ (Markdown: https://insights.sbomify.com/CVE-2010-3847/index.md)","id":"CVE-2010-3847","markdown":"https://insights.sbomify.com/CVE-2010-3847/index.md","name":"CVE-2010-3847","record":{"aliases":["DEBIAN-CVE-2010-3847","GHSA-q3fw-v7x4-w8hh","RHSA-2010:0787"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU C Library","requires_auth":"low_privilege","summary":"Local attackers can gain privileges by exploiting improper handling of the LD_AUDIT environment variable in the GNU C Library dynamic linker.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"glibc","vendor":"gnu"}],"cvss":{"score":6.9,"severity":"medium","source":"nvd","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"elf/dl-load.c in ld.so in the GNU C Library (aka glibc or libc6) through 2.11.2, and 2.12.x through 2.12.1, does not properly handle a value of $ORIGIN for the LD_AUDIT environment variable, which allows local users to gain privileges via a crafted dynamic shared object (DSO) located in an arbitrary directory.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server"],"exploits":{"exploitdb":6,"first_seen":"2010-10-18","github_poc":1,"max_poc_stars":0,"metasploit":2,"nuclei":0,"refs":[{"date":"2010-10-18","kind":"exploitdb","ref":"15274","stars":null,"title":"GNU C library dynamic linker - '$ORIGIN' Expansion"},{"date":"2010-10-18","kind":"metasploit","ref":"exploit/linux/local/glibc_ld_audit_dso_load_priv_esc","stars":null,"title":"glibc LD_AUDIT Arbitrary DSO Load Privilege Escalation"},{"date":"2010-10-18","kind":"metasploit","ref":"exploit/linux/local/glibc_origin_expansion_priv_esc","stars":null,"title":"glibc '$ORIGIN' Expansion Privilege Escalation"},{"date":"2010-10-22","kind":"exploitdb","ref":"15304","stars":null,"title":"GNU C Library 2.x (libc6) - Dynamic Linker LD_AUDIT Arbitrary DSO Load Privilege Escalation"},{"date":"2017-01-02T03:20:36Z","kind":"github_poc","ref":"https://github.com/magisterquis/cve-2010-3847","stars":0,"title":"Script to take advantage of CVE-2010-3847"},{"date":"2018-02-12","kind":"exploitdb","ref":"44024","stars":null,"title":"glibc - '$ORIGIN' Expansion Privilege Escalation (Metasploit)"},{"date":"2018-02-12","kind":"exploitdb","ref":"44024","stars":null,"title":"glibc - '$ORIGIN' Expansion Privilege Escalation (Metasploit)"},{"date":"2018-02-12","kind":"exploitdb","ref":"44025","stars":null,"title":"glibc - 'LD_AUDIT' Arbitrary DSO Load Privilege Escalation (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2010-3847","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:glibc","products":["gnu:glibc"],"type":"privilege_escalation","year":"2010"},"n_packages":16,"n_references":21,"next":{"headline":"Memory corruption in n/a","id":"CVE-2010-3848"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2010:0787"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-49.el5_5.6"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2010:0787"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2010-3846"},"products":["n/a"],"published":"2011-01-07","related":[{"cvss_score":9.8,"headline":"scanf %mc off-by-one heap buffer overflow","id":"CVE-2026-5450","kev_date_added":null,"published":"2026-04-20"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2023-25139","kev_date_added":null,"published":"2023-02-03"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-1999-0199","kev_date_added":null,"published":"2020-10-06"},{"cvss_score":9.8,"headline":"Security feature bypass in glibc","id":"CVE-2019-1010022","kev_date_added":null,"published":"2019-07-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2005-3590","kev_date_added":null,"published":"2019-04-10"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-18269","kev_date_added":null,"published":"2018-05-18"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2018-11236","kev_date_added":null,"published":"2018-05-18"}],"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":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Local attackers can gain privileges by exploiting improper handling of the LD_AUDIT environment variable in the GNU C Library dynamic linker.","url":"https://insights.sbomify.com/CVE-2010-3847/"}