Integer Overflow or Wraparound Affecting bsdcpio package, versions <0:3.1.2-10.el7_2


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.59% (86th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-BSDCPIO-5112559
  • published26 Jul 2021
  • disclosed17 Jun 2016

Introduced: 17 Jun 2016

CVE-2015-8923  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:7 bsdcpio to version 0:3.1.2-10.el7_2 or higher.
This issue was patched in RHSA-2016:1844.

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.

The process_extra function in libarchive before 3.2.0 uses the size field and a signed number in an offset, which allows remote attackers to cause a denial of service (crash) via a crafted zip file.