Heap-based Buffer Overflow Affecting qemu-img package, versions <15:2.12.0-64.module+el8.0.0+3180+d6a3561d.2
Threat Intelligence
EPSS
1.07% (85th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-QEMUIMG-1979757
- published 26 Jul 2021
- disclosed 14 Dec 2018
Introduced: 14 Dec 2018
CVE-2018-20815 Open this link in a new tabHow to fix?
Upgrade Centos:8 qemu-img to version 15:2.12.0-64.module+el8.0.0+3180+d6a3561d.2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by Centos.
See How to fix? for Centos:8 relevant fixed versions and status.
In QEMU 3.1.0, load_device_tree in device_tree.c calls the deprecated load_image function, which has a buffer overflow risk.
References
- https://seclists.org/bugtraq/2019/Aug/41
- https://access.redhat.com/security/cve/CVE-2018-20815
- https://www.debian.org/security/2019/dsa-4506
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BOE3PVFPMWMXV3DGP2R3XIHAF2ZQU3FS/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RVDHJB2QKXNDU7OFXIHIL5O5VN5QCSZL/
- https://git.qemu.org/?p=qemu.git;a=commitdiff;h=da885fe1ee8b4589047484bd7fa05a4905b52b17
- https://access.redhat.com/errata/RHSA-2019:1175
- https://git.qemu.org/?p=qemu.git%3Ba=commitdiff%3Bh=da885fe1ee8b4589047484bd7fa05a4905b52b17
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BOE3PVFPMWMXV3DGP2R3XIHAF2ZQU3FS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVDHJB2QKXNDU7OFXIHIL5O5VN5QCSZL/