Bug 1427090 (CVE-2017-2635) - CVE-2017-2635 libvirt: Null pointer dereference when updating storage size on empty drives
Summary: CVE-2017-2635 libvirt: Null pointer dereference when updating storage size on...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-2635
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: 1420718
Blocks: 1427095
TreeView+ depends on / blocked
 
Reported: 2017-02-27 10:56 UTC by Adam Mariš
Modified: 2021-02-17 02:33 UTC (History)
36 users (show)

Fixed In Version: libvirt 3.1.0
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer deference flaw was found in the way libvirt handled empty drives. A remote authenticated attacker could use this flaw to crash libvirtd daemon resulting in denial of service.
Clone Of:
Environment:
Last Closed: 2017-03-29 10:37:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-02-27 10:56:13 UTC
A NULL pointer dereference vulnerability was found in virStorageSourceUpdateBlockPhysicalSize when attempted to call on empty drives. Unprivileged local user can trigger this bug to crash libvirtd.

Upstream patch:

https://libvirt.org/git/?p=libvirt.git;a=commit;h=c3de387380f6057ee0e46cd9f2f0a092e8070875

Introduced by:

https://libvirt.org/git/?p=libvirt.git;a=commit;h=c5f6151390

Comment 3 Dhiru Kholia 2017-03-09 08:00:22 UTC
Acknowledgments:

Name: Yanqiu Zhang (Red Hat)

Comment 4 Carl Song 2017-04-07 20:48:07 UTC
Could you provide the rationale behind the verdict of "NOTABUG", given there's a CVE assigned and an upstream patch exists?

Comment 6 Dhiru Kholia 2017-04-10 05:29:39 UTC
Statement:

This issue does not affect libvirt as shipped with Red Hat Enterprise Linux 5, 6 and 7 as it does not contain the affected code.


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