Lucene search

K
gentooGentoo FoundationGLSA-202006-14
HistoryJun 15, 2020 - 12:00 a.m.

PEAR Archive_Tar: Remote code execution vulnerability

2020-06-1500:00:00
Gentoo Foundation
security.gentoo.org
19

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.007 Low

EPSS

Percentile

81.0%

Background

This class provides handling of tar files in PHP.

Description

An issue was discovered in the PEAR module Archive_Tar’s handling of file paths within Tar achives.

Impact

A local or remote attacker could possibly execute arbitrary code with the privileges of the process.

Workaround

Avoid handling untrusted Tar files with this package until you have upgraded to a non-vulnerable version.

Resolution

All PEAR-Archive_Tar users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-php/PEAR-Archive_Tar-1.4.5"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-php/pear-archive_tar< 1.4.5UNKNOWN

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.007 Low

EPSS

Percentile

81.0%