First published: Tue Apr 22 2003(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
NetBSD NetBSD | =1.5.3 | |
NetBSD NetBSD | =1.5 | |
NetBSD NetBSD | =1.6-beta | |
NetBSD NetBSD | =1.5.1 | |
NetBSD NetBSD | =1.5.2 | |
NetBSD NetBSD | =1.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2002-1476 has a high severity rating due to the potential for local attackers to execute arbitrary code.
To fix CVE-2002-1476, it is recommended to update to a patched version of NetBSD that addresses the buffer overflow vulnerability.
CVE-2002-1476 affects NetBSD versions from 1.4 to 1.6, including specific versions like 1.5, 1.5.1, 1.5.2, and 1.6-beta.
CVE-2002-1476 can be exploited by local attackers who have the ability to control locale strings.
CVE-2002-1476 can enable local code execution attacks, allowing the attacker to run arbitrary code on the affected system.