CVE-2005-4784
What it is
Multiple buffer overflows in the POSIX readdir_r function, as used in multiple packages, allow local users to cause a denial of service and possibly execute arbitrary code via (1) a symlink attack that exploits a race condition between opendir and pathcon calls and changes the filesystem to one with a larger maximum directory-entry name length, or (2) possibly via programmer-introduced errors on operating systems with a small struct dirent, such as Solaris or BeOS, as demonstrated in packages including (a) gcj, (b) KDE, (c) libwww, (d) the Rudiments library, (e) teTeX, (f) xmail, (g) bfbtester, (h) ncftp, (i) netwib, (j) OpenOffice.org, (k) Pike, (l) reprepro, (m) Tcl, and (n) xgsmlib.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, service disruption.
- Exploit odds
- 0.4% 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: 0.4% in the next 30 days (EPSS).
- Severity: 5.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Record status
- Modified
Affected
- Austin Group Posix
Attack profile CVSS 2.0 · 5.6
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- None
- Availability
- Complete
Raw vector
AV:L/AC:H/Au:N/C:C/I:N/A:C
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-2005-4784.md and follow it. Check whether this project is affected by CVE-2005-4784. 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
- http://womble.decadentplace.org.uk/readdir_r-advisory.html
- http://womble.decadentplace.org.uk/readdir_r-advisory.html
References
- http://womble.decadentplace.org.uk/readdir_r-advisory.html
- http://www.securityfocus.com/archive/1/415781
- http://www.securityfocus.com/archive/1/415790/30/0/threaded
- http://www.securityfocus.com/archive/1/415995/30/0/threaded
- http://www.securityfocus.com/archive/1/415998/30/0/threaded
- http://www.securityfocus.com/archive/1/415999/30/0/threaded
- http://www.securityfocus.com/archive/1/416002/30/0/threaded
- http://www.securityfocus.com/archive/1/416048/30/0/threaded
- http://www.securityfocus.com/bid/15259
- http://womble.decadentplace.org.uk/readdir_r-advisory.html
- http://www.securityfocus.com/archive/1/415781
- http://www.securityfocus.com/archive/1/415790/30/0/threaded
- http://www.securityfocus.com/archive/1/415995/30/0/threaded
- http://www.securityfocus.com/archive/1/415998/30/0/threaded
- http://www.securityfocus.com/archive/1/415999/30/0/threaded
- http://www.securityfocus.com/archive/1/416002/30/0/threaded
- http://www.securityfocus.com/archive/1/416048/30/0/threaded
- http://www.securityfocus.com/bid/15259