Use After Free Affecting libcomps package, versions <0:0.1.8-13.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.72% (77th 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 IDSNYK-RHEL7-LIBCOMPS-5015459
  • published26 Jul 2021
  • disclosed21 Jan 2019

Introduced: 21 Jan 2019

CVE-2019-3817  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libcomps to version 0:0.1.8-13.el7 or higher.
This issue was patched in RHSA-2019:3898.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcomps package and not the libcomps package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.