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
0.3% (53rd 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-5102310
  • published26 Jul 2021
  • disclosed17 Jun 2016

Introduced: 17 Jun 2016

CVE-2015-8931  (opens in a new tab)
CWE-190  (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.

Multiple integer overflows in the (1) get_time_t_max and (2) get_time_t_min functions in archive_read_support_format_mtree.c in libarchive before 3.2.0 allow remote attackers to have unspecified impact via a crafted mtree file, which triggers undefined behavior.