HighGHSA-p8q8-jfcv-g2h2CVE-2021-32610DRUPAL-CORE-2021-004
Directory Traversal in Archive_Tar
Published 9 Aug 2021 · Updated 10 Dec 2025
Is your project on an affected pear/archive_tar?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
pear/archive_tarComposer
- Affected
- <1.4.14
- Fixed in
- 1.4.14
Update to the fixed version for your release line, for example:
composer require pear/archive_tar:^1.4.14Details
In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.
Is GHSA-p8q8-jfcv-g2h2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pear/archive_tar, and gives you the command that fixes it.
More advisories for pear/archive_tar
- HighCVE-2018-1000888Archive_Tar contains Potential RCE if filename starts with phar:// · 7 Jul 2023
- CriticalCVE-2006-0931PEAR::Archive_Tar Directory Traversal vulnerability · 1 May 2022
- HighCVE-2020-28948Multiple vulnerabilities through filename manipulation in Archive_Tar · 22 Apr 2021
- HighCVE-2020-28948Deserialization of Untrusted Data in Archive_Tar · 22 Apr 2021
- HighCVE-2020-36193Directory Traversal in Archive_Tar · 22 Apr 2021
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-32610
- Linkgithub.com/pear/Archive_Tar/commit/7789ebb2f34f9e4adb3a4152ad0d1548930a9755
- Linkgithub.com/pear/Archive_Tar/commit/b5832439b1f37331fb4f87e67fe4f
- Packagegithub.com/pear/Archive_Tar
- Linkgithub.com/pear/Archive_Tar/releases/tag/1.4.14
- Linklists.debian.org/debian-lts-announce/2021/07/msg00023.html
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CAODVMHGL5MHQWQAQTXQ7G7OE3VQZ7LS
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5LTY6COQYNMMHQJ3QIOJHEWCKD4XDFH
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N
- Linkwww.drupal.org/sa-core-2021-004
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.