Use After Free Affecting bsdcpio package, versions <0:3.1.2-12.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.76% (82nd 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-BSDCPIO-4938948
  • published26 Jul 2021
  • disclosed20 Nov 2018

Introduced: 20 Nov 2018

CVE-2018-1000878  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:7 bsdcpio to version 0:3.1.2-12.el7 or higher.
This issue was patched in RHSA-2019:2298.

NVD Description

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

libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.

References

CVSS Base Scores

version 3.1