Vulnerability Name:

CVE-2019-3817 (CCN-159566)

Assigned:2019-01-21
Published:2019-01-21
Updated:2019-10-09
Summary: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.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.1 High (CCN CVSS v2 Vector: AV:N/AC:H/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-416
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2019-3817

Source: REDHAT
Type: UNKNOWN
RHSA-2019:3583

Source: REDHAT
Type: UNKNOWN
RHSA-2019:3898

Source: CCN
Type: Red Hat Bugzilla – Bug 1668005
(CVE-2019-3817) - CVE-2019-3817 libcomps: use after free when merging two objmrtrees

Source: CONFIRM
Type: Exploit, Issue Tracking, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3817

Source: XF
Type: UNKNOWN
libcomps-cve20193817-code-exec(159566)

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/rpm-software-management/libcomps/commit/e3a5d056633677959ad924a51758876d415e7046

Source: CCN
Type: libcomps GIT Repository
use-after-free in comps_objmrtree_unite function #41

Source: CONFIRM
Type: Exploit, Issue Tracking, Third Party Advisory
https://github.com/rpm-software-management/libcomps/issues/41

Vulnerable Configuration:Configuration 1:
  • cpe:/a:rpm:libcomps:*:*:*:*:*:*:*:* (Version < 0.1.10)

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:8::baseos:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20193817
    V
    CVE-2019-3817
    2022-06-30
    oval:org.opensuse.security:def:112607
    P
    libcomps-devel-0.1.17-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106091
    P
    libcomps-devel-0.1.17-1.2 on GA media (Moderate)
    2021-10-01
    oval:com.redhat.rhsa:def:20193583
    P
    RHSA-2019:3583: yum security, bug fix, and enhancement update (Moderate)
    2019-11-05
    BACK
    rpm libcomps *