CVE-2012-2690
publishedlibguestfs: virt-edit creates a new file, when it is used leading to loss of file attributes (permissions, owner, SELinux context etc.)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Oracle Linux | 6 | libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfssrc | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Oracle Linux | 6 | libguestfs-develx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | libguestfs-javax86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | libguestfs-java-develx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | libguestfs-javadocx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | libguestfs-toolsx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | libguestfs-tools-cx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | ocaml-libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | ocaml-libguestfs-develx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | perl-Sys-Guestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | python-libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Oracle Linux | 6 | ruby-libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | ELSA-2012-0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-debuginfox86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-develx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-javax86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-java-develx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-javadocx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-toolsx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | libguestfs-tools-cx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | ocaml-libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | ocaml-libguestfs-develx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | perl-Sys-Guestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | python-libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
| Red Hat Enterprise Linux | RHEL-6 | ruby-libguestfsx86_64 | Advisory build | 1:1.16.19-1.el6 | RHSA-2012:0774 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
6- RHSA-2012:0774 http://rhn.redhat.com/errata/RHSA-2012-0774.html
- 49431 http://secunia.com/advisories/49431
- 49545 http://secunia.com/advisories/49545
- 53932 http://www.securityfocus.com/bid/53932
- libguestfs-virtedit-info-disc(76220) https://exchange.xforce.ibmcloud.com/vulnerabilities/76220
- [Libguestfs] 20120521 [ANNOUNCE] libguestfs 1.18 released - tools for managing virtual machines and disk images https://www.redhat.com/archives/libguestfs/2012-May/msg00104.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a01b5f3cc14d529a86b6c9fe86b12d5bb71ed2786dae99d13f1a887533db5459
- Ingested
- 23 Sep 2026, 07:39:16 UTC
- Source record
- Official CVE record