Double Free Affecting bsdtar package, versions <3.3.2-3.8.4


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.65% (80th 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES150-BSDTAR-2753997
  • published14 Apr 2022
  • disclosed1 Apr 2019

Introduced: 1 Apr 2019

CVE-2018-1000877  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 bsdtar to version 3.3.2-3.8.4 or higher.

NVD Description

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

libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.

References

CVSS Scores

version 3.1