Incorrect Calculation of Buffer Size Affecting bsdtar package, versions *


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
1.04% (84th 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-CENTOS7-BSDTAR-1970842
  • published26 Jul 2021
  • disclosed15 Sept 2016

Introduced: 15 Sep 2016

CVE-2016-8688  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 bsdtar.

NVD Description

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

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.