CVE Vulnerabilities

CVE-2019-3817

Use After Free

Published: Mar 27, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
root.io logo minimus.io logo echo.ai logo

A use-after-free flaw has been discovered in libcomps before version 0.1.10 in the way ObjMRTrees are merged. An attacker, who is able to make an application read a crafted comps XML file, may be able to crash the application or execute malicious code.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
LibcompsRpm*0.1.10 (excluding)
Red Hat Enterprise Linux 7 ExtrasRedHatlibcomps-0:0.1.8-13.el7*
Red Hat Enterprise Linux 8RedHatcreaterepo_c-0:0.11.0-3.el8*
Red Hat Enterprise Linux 8RedHatdnf-0:4.2.7-6.el8*
Red Hat Enterprise Linux 8RedHatdnf-plugins-core-0:4.0.8-3.el8*
Red Hat Enterprise Linux 8RedHatlibcomps-0:0.1.11-2.el8*
Red Hat Enterprise Linux 8RedHatlibdnf-0:0.35.1-8.el8*
Red Hat Enterprise Linux 8RedHatlibrepo-0:1.10.3-3.el8*
Red Hat Enterprise Linux 8RedHatlibrhsm-0:0.0.3-3.el8*
Red Hat Enterprise Linux 8RedHatlibsolv-0:0.7.4-3.el8*
Red Hat Enterprise Linux 8RedHatmicrodnf-0:3.0.1-3.el8*
Red Hat Enterprise Linux 8RedHatcreaterepo_c-0:0.11.0-3.el8*
Red Hat Enterprise Linux 8RedHatdnf-0:4.2.7-6.el8*
Red Hat Enterprise Linux 8RedHatdnf-plugins-core-0:4.0.8-3.el8*
Red Hat Enterprise Linux 8RedHatlibcomps-0:0.1.11-2.el8*
Red Hat Enterprise Linux 8RedHatlibdnf-0:0.35.1-8.el8*
Red Hat Enterprise Linux 8RedHatlibrepo-0:1.10.3-3.el8*
Red Hat Enterprise Linux 8RedHatlibrhsm-0:0.0.3-3.el8*
Red Hat Enterprise Linux 8RedHatlibsolv-0:0.7.4-3.el8*
Red Hat Enterprise Linux 8RedHatmicrodnf-0:3.0.1-3.el8*

Potential Mitigations

References