{"id":"CVE-2020-28948","aliases":["CVE-2020-28948","GHSA-75c5-f4gw-38r9","BIT-DRUPAL-2020-28948","BIT-DRUPAL-2020-28949","DRUPAL-CORE-2020-013","GHSA-jh5x-hfhg-78jq"],"related":["CVE-2020-28949"],"kind":"vulnerability","state":"published","title":"Multiple vulnerabilities through filename manipulation in Archive_Tar","summary":"Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.","source":"cvelist"},{"lang":"en","text":"Archive_Tar through 1.4.10 has `://` filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as `file://` to overwrite files) can still succeed. See: https://github.com/pear/Archive_Tar/issues/33","format":"markdown","source":"ghsa"},{"lang":"en","text":"Archive_Tar through 1.4.10 allows an unserialization attack because `phar:` is blocked but `PHAR:` is not blocked. See: https://github.com/pear/Archive_Tar/issues/33","format":"markdown","source":"ghsa"},{"lang":"en","text":"The Drupal project uses the PEAR Archive\\_Tar library. The PEAR Archive\\_Tar library has released a security update that impacts Drupal. For more information please see:\n\n* [CVE-2020-28948](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28948)\n* [CVE-2020-28949](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28949)\n\nMultiple vulnerabilities are possible if Drupal is configured to allow `.tar`, `.tar.gz`, `.bz2`, or `.tlz` file uploads and processes them.\n\n**To mitigate this issue, prevent untrusted users from uploading `.tar`, `.tar.gz`, `.bz2`, or `.tlz` files.**\n\nThis is a different issue than [SA-CORE-2019-012](https://www.drupal.org/sa-core-2019-012). Similar configuration changes may mitigate the problem until you are able to patch.","format":"markdown","source":"drupal"},{"lang":"es","text":"Archive_Tar versiones hasta 1.4.10, permite un ataque de no serialización porque phar: está bloqueado pero PHAR: no está bloqueado","source":"nvd"},{"lang":"en","text":"Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed.","format":"markdown","source":"bitnami"}],"published":"2020-11-19T18:14:33.000Z","modified":"2026-09-19T17:39:28.000Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-74","CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.11"}],"ecosystem":"Packagist","package":"pear/archive_tar","purl":"pkg:composer/pear/archive_tar","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.11"}],"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.8.12"},{"type":"ecosystem","introduced":"8.9.0","status":"affected","fixed":"8.9.10"},{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.0.9"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"drupal"},{"ranges":[{"status":"affected","fixed":"1.4.11"}],"vendor":"php","product":"archive_tar","cpe":"cpe:2.3:a:php:archive_tar:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"},{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.0","fixed":"7.75"},{"status":"affected","introduced":"8.0.0","fixed":"8.9.10"},{"status":"affected","introduced":"8.8.0","fixed":"8.8.12"},{"status":"affected","introduced":"9.0.0","fixed":"9.0.9"}],"vendor":"drupal","product":"drupal","cpe":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.75.0"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.9.10"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.0.9"}],"ecosystem":"Bitnami","package":"drupal","purl":"pkg:bitnami/drupal","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.75.0"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.9.10"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.0.9"}],"ecosystem":"Bitnami","package":"drupal","purl":"pkg:bitnami/drupal","source":"bitnami"}],"references":[{"url":"https://github.com/pear/Archive_Tar/issues/33","tags":["advisory","exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.drupal.org/sa-core-2020-013","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","drupal","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UEBTXO2EG7B/","tags":["advisory","vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP/","tags":["advisory","vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/","tags":["advisory","vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/","tags":["advisory","vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.debian.org/security/2020/dsa-4817","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202101-23","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/","tags":["advisory","vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/","tags":["advisory","vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28949","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/pear/Archive_Tar/commit/0670a05fdab997036a3fc3ef113b8f5922e574da","tags":["web"],"sources":["ghsa"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-28949","tags":["web"],"sources":["ghsa","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UEBTXO2EG7B","tags":["web"],"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%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UEBTXO2EG7B","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pear/Archive_Tar","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/pear/archive_tar/CVE-2020-28949.yaml","tags":["web"],"sources":["ghsa"]},{"url":"http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28948","tags":["advisory","web"],"sources":["ghsa","bitnami"]}],"credits":["Luke Stewart"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-28948","url":"https://www.cve.org/CVERecord?id=CVE-2020-28948","licence":"CVE Terms of Use","modified":"2024-08-04T16:48:00.566Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-75c5-f4gw-38r9","url":"https://github.com/advisories/GHSA-75c5-f4gw-38r9","licence":"CC-BY-4.0","modified":"2025-12-10T23:40:57.172Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jh5x-hfhg-78jq","url":"https://github.com/advisories/GHSA-jh5x-hfhg-78jq","licence":"CC-BY-4.0","modified":"2025-12-10T23:40:57.172Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CORE-2020-013","url":"https://osv.dev/vulnerability/DRUPAL-CORE-2020-013","licence":"MIT","modified":"2026-09-19T17:39:28.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-28948","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28948","licence":"Public domain","modified":"2026-06-17T03:10:53.657Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DRUPAL-2020-28948","url":"https://osv.dev/vulnerability/BIT-DRUPAL-2020-28948","licence":"Apache-2.0","modified":"2026-09-08T08:47:02.560Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DRUPAL-2020-28949","url":"https://osv.dev/vulnerability/BIT-DRUPAL-2020-28949","licence":"Apache-2.0","modified":"2026-09-08T08:47:04.395Z"}],"updatedAt":"2026-11-25T22:57:55.885Z","epss":{"score":0.47493,"percentile":0.98867,"date":"2026-12-01T12:00:22.000Z"}}