{"id":"CVE-2021-32610","aliases":["CVE-2021-32610","GHSA-p8q8-jfcv-g2h2","DRUPAL-CORE-2021-004"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal in Archive_Tar","summary":"In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.","source":"cvelist"},{"lang":"en","text":"The Drupal project uses the pear Archive\\_Tar library, which has released a security update that impacts Drupal.\n\nThe vulnerability is mitigated by the fact that Drupal core's use of the Archive\\_Tar library is not vulnerable, as it does not permit symlinks.\n\nExploitation may be possible if contrib or custom code uses the library to extract tar archives (for example .tar, .tar.gz, .bz2, or .tlz) which come from a potentially untrusted source.\n\nThis advisory is not covered by [Drupal Steward](/steward).","format":"markdown","source":"drupal"},{"lang":"es","text":"En Archive_Tar versiones anteriores a 1.4.14, los enlaces simbólicos pueden referirse a objetivos fuera del archivo extraído, una vulnerabilidad diferente a CVE-2020-36193","source":"nvd"}],"published":"2021-07-21T15:59:27.000Z","modified":"2026-09-19T17:45:13.000Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","score":3.6,"rating":"LOW"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.14"}],"ecosystem":"Packagist","package":"pear/archive_tar","purl":"pkg:composer/pear/archive_tar","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.9.17"},{"type":"ecosystem","introduced":"9.1.0","status":"affected","fixed":"9.1.11"},{"type":"ecosystem","introduced":"9.2.0","status":"affected","fixed":"9.2.2"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"drupal"},{"ranges":[{"status":"affected","fixed":"1.4.14"}],"vendor":"php","product":"archive_tar","cpe":"cpe:2.3:a:php:archive_tar:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"},{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-core-2021-004","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","drupal","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00023.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pear/Archive_Tar/releases/tag/1.4.14","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pear/Archive_Tar/commit/b5832439b1f37331fb4f87e67fe4f","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G5LTY6COQYNMMHQJ3QIOJHEWCKD4XDFH/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAODVMHGL5MHQWQAQTXQ7G7OE3VQZ7LS/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pear/Archive_Tar/commit/7789ebb2f34f9e4adb3a4152ad0d1548930a9755","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32610","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pear/Archive_Tar","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CAODVMHGL5MHQWQAQTXQ7G7OE3VQZ7LS","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5LTY6COQYNMMHQJ3QIOJHEWCKD4XDFH","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N","tags":["web"],"sources":["ghsa"]}],"credits":["Drew Webber"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32610","url":"https://www.cve.org/CVERecord?id=CVE-2021-32610","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:30.460Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p8q8-jfcv-g2h2","url":"https://github.com/advisories/GHSA-p8q8-jfcv-g2h2","licence":"CC-BY-4.0","modified":"2025-12-10T23:40:57.950Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CORE-2021-004","url":"https://osv.dev/vulnerability/DRUPAL-CORE-2021-004","licence":"MIT","modified":"2026-09-19T17:45:13.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32610","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32610","licence":"Public domain","modified":"2026-06-17T03:53:16.013Z"}],"updatedAt":"2026-11-25T22:58:02.893Z","epss":{"score":0.73377,"percentile":0.99468,"date":"2026-12-01T12:00:22.000Z"}}