Skip to content
StratQuad

Threats

PEAR Archive_Tar stream wrapper bypass allows file overwrite

CVE-2020-28949Known exploitedHigh

PEAR Archive_Tar sanitises filenames to block phar:// stream wrapper attacks, but does not block other stream wrappers such as file://. An attacker who can control a tar archive processed by the library can use alternative stream wrappers to overwrite arbitrary files on the system. The attacker needs the ability to provide a malicious tar archive to an application that uses PEAR Archive_Tar to extract it.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
7.8
HIGH
EPSS score
0.85
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
25 Aug 2022
CISA due date
15 Sept 2022
Applies to US federal agencies

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

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

PEAR Archive_Tar. CISA required action: Apply updates per vendor instructions.

Affected versions

  • php archive tar: before 1.4.12
  • debian debian linux: 9.0
  • debian debian linux: 10.0
  • fedoraproject fedora: 32
  • fedoraproject fedora: 33
  • fedoraproject fedora: 34
  • fedoraproject fedora: 35
  • drupal drupal: from 7.0, before 7.75
  • drupal drupal: from 8.0.0, before 8.9.10
  • drupal drupal: from 8.8.0, before 8.8.12
  • drupal drupal: from 9.0.0, before 9.0.9