| Name | CVE-2012-2690 | 
| Description | 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| libguestfs (PTS) | bullseye | 1:1.44.0-2 | fixed | 
| bookworm | 1:1.48.6-2 | fixed | |
| forky, sid, trixie | 1:1.54.1-2 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| libguestfs | source | (unstable) | 1:1.18.0-1 | 
Upstream patch https://www.redhat.com/archives/libguestfs/2012-February/msg00034.html
https://www.redhat.com/archives/libguestfs/2012-February/msg00033.html
https://bugzilla.redhat.com/show_bug.cgi?id=788642
https://www.openwall.com/lists/oss-security/2012/06/11/1
https://www.openwall.com/lists/oss-security/2012/06/11/5