CVE Vulnerabilities

CVE-2020-28948

Deserialization of Untrusted Data

Published: Nov 19, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.8 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.

Weakness

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Software

NameVendorStart VersionEnd Version
Archive_tarPhp*1.4.11 (excluding)
Red Hat Enterprise Linux 7RedHatphp-pear-1:1.9.4-23.el7_9*
Red Hat Enterprise Linux 8RedHatphp:7.4-8060020220907094815.5caa48ff*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatphp:7.4-8040020220907095003.d7c09045*
Drupal7Ubuntuesm-apps/xenial*
Drupal7Ubuntuesm-infra-legacy/trusty*
Drupal7Ubuntutrusty*
Drupal7Ubuntutrusty/esm*
Drupal7Ubuntuupstream*
Drupal7Ubuntuxenial*
Php-pearUbuntubionic*
Php-pearUbuntudevel*
Php-pearUbuntuesm-infra/bionic*
Php-pearUbuntuesm-infra/focal*
Php-pearUbuntuesm-infra/xenial*
Php-pearUbuntufocal*
Php-pearUbuntugroovy*
Php-pearUbuntuhirsute*
Php-pearUbuntuimpish*
Php-pearUbuntujammy*
Php-pearUbuntukinetic*
Php-pearUbuntulunar*
Php-pearUbuntumantic*
Php-pearUbuntunoble*
Php-pearUbuntuoracular*
Php-pearUbuntutrusty*
Php-pearUbuntuxenial*

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References