Bug 1006493 (CVE-2013-5651) - CVE-2013-5651 libvirt: virBitmapParse out-of-bounds read access
Summary: CVE-2013-5651 libvirt: virBitmapParse out-of-bounds read access
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2013-5651
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 997367 997906 1006511
Blocks: 1006495
TreeView+ depends on / blocked
 
Reported: 2013-09-10 17:39 UTC by Petr Matousek
Modified: 2021-02-17 07:22 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-10 18:00:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Petr Matousek 2013-09-10 17:39:38 UTC
The virBitmapParse function was calling virBitmapIsSet() function that requires the caller to check the bounds of the bitmap without checking them. This resulted into crashes when parsing a bitmap string that was exceeding the bounds used as argument.

Introduced by:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=0fc89098a68f0f6962de8be4fc03ddd960ffbf08

Upstream fix:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=47b9127e883677a0d60d767030a147450e919a

Comment 1 Petr Matousek 2013-09-10 17:44:18 UTC
Statement:

Not vulnerable.

This issue did not affect the versions of libvirt package as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 2 Petr Matousek 2013-09-10 18:15:03 UTC
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1006511]

Comment 3 Fedora Update System 2013-10-02 06:41:13 UTC
libvirt-1.0.5.6-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.