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
- Added to KEV
- 25 Aug 2022
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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