NULL Pointer Dereference Affecting tar package, versions <2:1.26-31.24.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.05% (89th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-TAR-5668866
  • published7 Jun 2023
  • disclosed22 Mar 2019

Introduced: 22 Mar 2019

CVE-2019-9923  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 tar to version 2:1.26-31.24.amzn1 or higher.
This issue was patched in ALAS-2023-1755.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tar package and not the tar package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers.