Relative Path Traversal Affecting libarchive-c package, versions [,4.0)


Severity

Recommended
0.0
medium
0
10

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

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 Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LIBARCHIVEC-6138507
  • published22 Dec 2023
  • disclosed1 Oct 2023
  • creditUnknown

Introduced: 1 Oct 2023

CVE NOT AVAILABLE CWE-23  (opens in a new tab)

How to fix?

Upgrade libarchive-c to version 4.0 or higher.

Overview

libarchive-c is a Python interface to libarchive

Affected versions of this package are vulnerable to Relative Path Traversal due to unsafe defaults in the libarchive/extract.py file.

References

CVSS Scores

version 3.1