Integer Overflow or Wraparound Affecting libarchive package, versions [,3.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.47% (76th 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-UNMANAGED-LIBARCHIVE-2318954
  • published14 Dec 2021
  • disclosed20 Sept 2016
  • creditUnknown

Introduced: 20 Sep 2016

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

How to fix?

Upgrade libarchive to version 3.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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.

CVSS Scores

version 3.1