CVE-2002-0759
What it is
bzip2 before 1.0.2 in FreeBSD 4.5 and earlier, OpenLinux 3.1 and 3.1.1, and possibly other operating systems, does not use the O_EXCL flag to create files during decompression and does not warn the user if an existing file would be overwritten, which could allow attackers to overwrite files via a bzip2 archive.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.3% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Record status
- Modified
Affected
- Bzip bzip2 0.9.0
- Bzip bzip2 0.9.0a
- Bzip bzip2 0.9.0b
- Bzip bzip2 0.9.0c
- Bzip bzip2 0.9.5a
- Bzip bzip2 0.9.5b
- Bzip bzip2 0.9.5c
- Bzip bzip2 0.9.5d
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2002-0759.md and follow it. Check whether this project is affected by CVE-2002-0759. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:25.bzip2.asc
- http://www.iss.net/security_center/static/9126.php
- http://www.securityfocus.com/bid/4774
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:25.bzip2.asc
- http://www.iss.net/security_center/static/9126.php
- http://www.securityfocus.com/bid/4774
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-039.0.txt
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:25.bzip2.asc
- http://www.iss.net/security_center/static/9126.php
- http://www.securityfocus.com/bid/4774
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-039.0.txt
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:25.bzip2.asc
- http://www.iss.net/security_center/static/9126.php
- http://www.securityfocus.com/bid/4774