{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2002-1476 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2002-1476 yet. Limit exposure of the affected software until one is available.","what":"CVE-2002-1476 is a medium-severity memory corruption vulnerability in Netbsd Netbsd, published on 1 Sep 2004. 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-2002-1476 and fix it if it is affected.\n\nWhat it is: CVE-2002-1476 is a medium-severity memory corruption vulnerability in Netbsd Netbsd, published on 1 Sep 2004. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2002-1476 in the wild and no public exploit code.\n\nAffected product: Netbsd Netbsd. 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-2002-1476/ (Markdown: https://insights.sbomify.com/CVE-2002-1476/index.md)","id":"CVE-2002-1476","markdown":"https://insights.sbomify.com/CVE-2002-1476/index.md","name":"CVE-2002-1476","record":{"aliases":["GHSA-5wm2-qcg4-9wjx"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NetBSD libc","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary code via a buffer overflow in libc's setlocale function when processing long locale strings.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netbsd","vendor":"netbsd"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other operating systems, when called with the LC_ALL category, allows local attackers to execute arbitrary code via a user-controlled locale string that has more than 6 elements, which exceeds the boundaries of the new_categories category array, as exploitable through programs such as xterm and zsh.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2002-1476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netbsd:netbsd","products":["netbsd:netbsd"],"type":"memory_corruption","year":"2002"},"n_packages":0,"n_references":4,"next":{"headline":"Command injection in n/a","id":"CVE-2002-1477"},"packages":[],"prev":{"headline":"Other in n/a","id":"CVE-2002-1475"},"products":["n/a"],"published":"2004-09-01","related":[{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2017-1000374","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-1000375","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2017-1000378","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2015-8212","kev_date_added":null,"published":"2017-01-19"},{"cvss_score":9.3,"headline":"Denial of service in n/a","id":"CVE-2008-3584","kev_date_added":null,"published":"2008-09-11"},{"cvss_score":9.3,"headline":"Security feature bypass in n/a","id":"CVE-2008-1335","kev_date_added":null,"published":"2008-03-13"},{"cvss_score":7.8,"headline":"Path traversal in n/a","id":"CVE-2016-6253","kev_date_added":null,"published":"2017-01-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary code via a buffer overflow in libc's setlocale function when processing long locale strings.","url":"https://insights.sbomify.com/CVE-2002-1476/"}