A double-free flaw was found in the way Libguestfs, a library for accessing and modifying guest disk images, performed scan of certain guest files / images. A remote attacker could provide a specially-crafted guest file that, when inspected in an application linked against Libguestfs would lead to that application abort (denial of service). References: [1] https://www.redhat.com/archives/libguestfs/2013-May/msg00079.html [2] https://www.redhat.com/archives/libguestfs/2013-May/msg00080.html Relevant upstream patch (including reproducer): [3] https://github.com/libguestfs/libguestfs/commit/fa6a76050d82894365dfe32916903ef7fee3ffcd CVE Request: [4] http://www.openwall.com/lists/oss-security/2013/05/29/2
This issue did NOT affect the version of the libguestfs package, as shipped with Red Hat Enterprise Linux 6. -- This issue did NOT affect the version of the libguestfs package, as shipped with Fedora release of 17. This issue (previously) affected the version of the libguestfs package, as shipped with Fedora release of 18. Version libguestfs-1.20.7-1.fc18 has been released (into the -testing branch) already to correct this problem. -- This issue affects the version of the libguestfs package, as shipped with Fedora EPEL-5. Please schedule an update.
Created libguestfs tracking bugs for this issue Affects: epel-5 [bug 968315]
Statement: Not vulnerable. This issue did not affect the version of libguestfs as shipped with Red Hat Enterprise Linux 6 as it did not include the upstream commit 5a3da366268825b26b470cde35658b67c1d11cd4 that introduced this issue.
Fedora 17 is not affected. Fedora 18 is affected, fixed in this package: https://admin.fedoraproject.org/updates/libguestfs-1.20.7-1.fc18 Fedora 19 is affected, fixed in this package: https://admin.fedoraproject.org/updates/libguestfs-1.22.1-1.fc19 RHEL 6.4 is not affected. RHEL 6.5 is going to be rebased (bug 958183) but we've not been able to commit that yet because we're waiting for some acks. Will clone this bug to make sure the fix isn't forgotten. RHEL 7 would be affected, but we are planning to rebase to 1.22.x (x >= 1) soon anyway. Will clone the bug for RHEL 7.
This has been assigned CVE-2013-2124 as per: http://www.openwall.com/lists/oss-security/2013/05/29/8
Further commits required: https://github.com/libguestfs/libguestfs/commit/ae8bb84ecd46d7b6ef557a87725923ac8d09dce0 https://github.com/libguestfs/libguestfs/commit/1c9dfd079aa6d7893f72c5fd17656c847f72c8d6 Still working on this ...
OK I think we're all done upstream. The complete fix requires the following commits: https://github.com/libguestfs/libguestfs/commit/fa6a76050d82894365dfe32916903ef7fee3ffcd https://github.com/libguestfs/libguestfs/commit/ae8bb84ecd46d7b6ef557a87725923ac8d09dce0 https://github.com/libguestfs/libguestfs/commit/1c9dfd079aa6d7893f72c5fd17656c847f72c8d6 It will be fixed upstream in >= 1.20.8, >= 1.22.2, >= 1.23.2.