Known exploited
CVE-2020-36193 on Amazon Linux 2: affected packages and fixed versions
1 package on Amazon Linux 2 is affected by CVE-2020-36193 (PEAR Archive_Tar Improper Link Resolution Vulnerability). A host is fixed once the package is at the version below or newer.
This vulnerability is known to be exploited. CISA added it to its catalog on August 25, 2022, with a remediation date of September 15, 2022 for US federal agencies.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
php-pear |
1:1.10.12-5.amzn2 |
Important | ALAS2-2021-1602 |
Check a host
Show the installed version and compare with the table above:
rpm -q php-pear
Update to the fixed build:
sudo yum update php-pear
The fixed version may look older than the upstream release that fixed the bug. Amazon Linux 2 carries the fix in the version it already ships.
What it is
PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server. Security Fix(es): * Archive_Tar: allows an unserialization attack because phar: is blocked but PHAR: is not blocked (CVE-2020-28948) * Archive_Tar: improper filename sanitization leads to file overwrites (CVE-2020-28949) * Archive_Tar: directory traversal due to inadequate checking of symbolic links (CVE-2020-36193) For more details about the security issue(s), including the impact, a CVSS score, acknow...
CVE-2020-36193 on other releases
- Ubuntu 20.04 LTS
- Debian 11
- Debian 12
- Debian 13
- RHEL 8
- Rocky Linux 8
- AlmaLinux 8
- Oracle Linux 8
- SLES 15 SP6
- Arch Linux
Know which of your hosts are affected
SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.