CVE-2012-2690
What it is
virt-edit in libguestfs before 1.18.0 does not preserve the permissions from the original file and saves the new file with world-readable permissions when editing, which might allow local guest users to obtain sensitive information.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- 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: 2.1 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-255
- Record status
- Modified
Affected
- Libguestfs ≤ 1.17.43
- Libguestfs 1.16.0
- Libguestfs 1.16.1
- Libguestfs 1.16.2
- Libguestfs 1.16.3
- Libguestfs 1.16.4
- Libguestfs 1.16.5
- Libguestfs 1.16.6
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:P/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-2012-2690.md and follow it. Check whether this project is affected by CVE-2012-2690. 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/49431
- http://secunia.com/advisories/49545
- http://secunia.com/advisories/49431
- http://secunia.com/advisories/49545
References
- http://rhn.redhat.com/errata/RHSA-2012-0774.html
- http://secunia.com/advisories/49431
- http://secunia.com/advisories/49545
- http://www.securityfocus.com/bid/53932
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76220
- https://www.redhat.com/archives/libguestfs/2012-May/msg00104.html
- http://rhn.redhat.com/errata/RHSA-2012-0774.html
- http://secunia.com/advisories/49431
- http://secunia.com/advisories/49545
- http://www.securityfocus.com/bid/53932
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76220
- https://www.redhat.com/archives/libguestfs/2012-May/msg00104.html