CVE-2003-0102 Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shen...
MediumCVSS 4.6
EPSS 2.0%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shentsize).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| file | = 3.28 | No fix listed |
| file | = 3.30 | No fix listed |
| file | = 3.32 | No fix listed |
| file | = 3.33 | No fix listed |
| file | = 3.34 | No fix listed |
| file | = 3.35 | No fix listed |
| file | = 3.36 | No fix listed |
| file | = 3.37 | No fix listed |
| file | = 3.39 | No fix listed |
| file | = 3.40 | 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 | No fix listed |
| debian/file(Debian:12) | < 3.40-1.1 | 3.40-1.1 |
| debian/file(Debian:13) | < 3.40-1.1 | 3.40-1.1 |
| debian/file(Debian:14) | < 3.40-1.1 | 3.40-1.1 |
References
- IMNX-2003-7+-012-01 vendor-advisory
- 20030304 iDEFENSE Security Advisory 03.04.03: Locally Exploitable Buffer Overflow in file(1) mailing-list
- DSA-260 vendor-advisory
- www.idefense.com exploit patch vendor-advisory
- VU#611865 third-party-advisory us-government-resource
- MDKSA-2003:030 vendor-advisory
- SuSE-SA:2003:017 vendor-advisory
- RHSA-2003:086 vendor-advisory
- RHSA-2003:087 vendor-advisory
- 7008 patch vdb-entry vendor-advisory
- file-afctr-read-bo(11469) vdb-entry
- Debian Security Tracker CVE-2003-0102 vendor-advisory