Skip to content
Fencer Intel
low 2.1

CVE-2012-2690 json

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 p…

published 2012-06-29 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2672

cvss
2.1
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 35%
public exploits
0
none known

Summary

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.

Patch / fix

  • libguestfs Debian 14, Debian 13, Debian 12 1:1.18.0-1

debian advisories DEBIAN-CVE-2012-2690

  • libguestfs RHEL 6 1:1.16.19-1.el6
  • libguestfs-java RHEL 6 1:1.16.19-1.el6
  • ruby-libguestfs RHEL 6 1:1.16.19-1.el6
  • libguestfs-tools RHEL 6 1:1.16.19-1.el6
  • ocaml-libguestfs RHEL 6 1:1.16.19-1.el6
  • perl-Sys-Guestfs RHEL 6 1:1.16.19-1.el6
  • python-libguestfs RHEL 6 1:1.16.19-1.el6
  • libguestfs-javadoc RHEL 6 1:1.16.19-1.el6

red hat advisories RHSA-2012:0774

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-2690 updated cvss 1.2

libguestfs: virt-edit creates a new file, when it is used leading to loss of file attributes (permissions, owner, SELinux context etc.)

  • Red Hat Enterprise Linux Desktop (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more Red Hat Enterprise Linux Desktop Optional (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more Red Hat Enterprise Linux HPC Node (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more Red Hat Enterprise Linux HPC Node Optional (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more Red Hat Enterprise Linux Server (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more Red Hat Enterprise Linux Server Optional (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more Red Hat Enterprise Linux Workstation Optional (v. 6) libguestfs 1.16.19-1.el6, libguestfs-java 1.16.19-1.el6, ruby-libguestfs 1.16.19-1.el6, libguestfs-tools 1.16.19-1.el6, ocaml-libguestfs 1.16.19-1.el6, perl-Sys-Guestfs 1.16.19-1.el6, +3 more
    fixed: vendor fix RHSA-2012:0774

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N

Classification

Weakness
  • CWE-255 Credentials Management Errors

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.