CVE-2002-1476 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 use...
MediumCVSS 4.6
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netbsd | = 1.4; = 1.5; = 1.5.1; = 1.5.2 +2 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| netbsd | = 1.4 | No fix listed |
| netbsd | = 1.5 | No fix listed |
| netbsd | = 1.5.1 | No fix listed |
| netbsd | = 1.5.2 | No fix listed |
| netbsd | = 1.5.3 | No fix listed |
| netbsd | = 1.6-beta | No fix listed |
References
- netbsd-libc-setlocale-bo(10159) patch vdb-entry vendor-advisory
- 7565 vdb-entry
- 5724 patch vdb-entry vendor-advisory