PT-2020-6225 · Php+6 · Archive Tar+6
Luke Stewart
·
Published
2020-11-17
·
Updated
2025-11-07
·
CVE-2020-28948
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Archive Tar versions 1.4.10 and earlier
Description
The issue allows an unserialization attack because
phar: is blocked but PHAR: is not blocked. This can be exploited by a remote attacker to execute arbitrary PHP code using a specially crafted .tar archive. The vulnerability is related to the restoration of an untrusted data structure in memory.Recommendations
For Archive Tar versions 1.4.10 and earlier, consider disabling the use of
PHAR: until a patch is available. As a temporary workaround, restrict the use of the Archive Tar class to minimize the risk of exploitation. Avoid using specially crafted .tar archives that could trigger the unserialization attack.Exploit
Fix
Special Elements Injection
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Archive Tar
Centos
Linuxmint
Red Hat
Rocky Linux
Ubuntu