Privilege Escalation Affecting tar package, versions [0,]


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.69% (81st 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 Privilege Escalation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TAR-2319474
  • published14 Dec 2021
  • disclosed10 Aug 2005
  • creditUnknown

Introduced: 10 Aug 2005

CVE-2005-2541  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

There is no fixed version for tar.

Overview

Affected versions of this package are vulnerable to Privilege Escalation. Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which may allow local users or remote attackers to gain privileges.

This is considered intended behavior, as tar is an archiving tool and one needs to give -p as a command-line flag.

CVSS Base Scores

version 3.1