CVE-2009-0787
What it is
The ecryptfs_write_metadata_to_contents function in the eCryptfs functionality in the Linux kernel 2.6.28 before 2.6.28.9 uses an incorrect size when writing kernel memory to an eCryptfs file header, which triggers an out-of-bounds read and allows local users to obtain portions of kernel memory.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure.
- 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: 4.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Linux Kernel 2.6.28
- Linux Kernel 2.6.28.1
- Linux Kernel 2.6.28.2
- Linux Kernel 2.6.28.3
- Linux Kernel 2.6.28.4
- Linux Kernel 2.6.28.5
- Linux Kernel 2.6.28.6
- Linux Kernel 2.6.28.7
Attack profile CVSS 2.0 · 4.9
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:C/I:N/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-2009-0787.md and follow it. Check whether this project is affected by CVE-2009-0787. 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://secunia.com/advisories/34422
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.9
- http://www.securityfocus.com/bid/34216
- http://www.vupen.com/english/advisories/2009/0802
- http://secunia.com/advisories/34422
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.9
- http://www.securityfocus.com/bid/34216
- http://www.vupen.com/english/advisories/2009/0802
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=8faece5f906725c10e7a1f6caf84452abadbdc7b
- http://osvdb.org/52860
- http://rhn.redhat.com/errata/RHSA-2009-0473.html
- http://secunia.com/advisories/34422
- http://secunia.com/advisories/35015
- http://secunia.com/advisories/37471
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.9
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.securityfocus.com/bid/34216
- http://www.securitytracker.com/id?1022177
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.vupen.com/english/advisories/2009/0802
- http://www.vupen.com/english/advisories/2009/3316
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49355
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11068
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8319
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=8faece5f906725c10e7a1f6caf84452abadbdc7b
- http://osvdb.org/52860
- http://rhn.redhat.com/errata/RHSA-2009-0473.html
- http://secunia.com/advisories/34422
- http://secunia.com/advisories/35015
- http://secunia.com/advisories/37471
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.9
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.securityfocus.com/bid/34216