VDB

CVE-2020-7068

CVE-2020-7068 PUBLISHED CVSS 4.8 MEDIUM

Use of freed hash key in the phar_parse_zipfile function

Reported by php · Published September 9, 2020

In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php7Alpine7.3.22-r0, 7.2.33-r0
phpBitnami7.4.9, 7.3.21, 7.2.33
php-minBitnami7.4.9, 7.3.21, 7.2.33
libphpBitnami7.4.9, 7.3.21, 7.2.33
phpBitnami7.4.9, 7.3.21, 7.2.33
libphpBitnami7.4.9, 7.3.21, 7.2.33
phpphp7.4.9, 7.3.21, 7.2.33
tenable.sctenable5.19.0
php7.4Ubuntu:20.04:LTS7.4.3-4ubuntu2.5
PHPPHP Group7.4.9, 7.3.21, 7.2.33
php7.2Ubuntu:18.04:LTS7.2.24-0ubuntu0.18.04.8
php5Ubuntu:Pro:14.04:LTS5.5.9+dfsg-1ubuntu4.29+esm14

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected products

VendorProductVersions
PHP GroupPHP7.3.x, 7.4.x, 7.2.x
alpinephp70, 0
PHP GroupPHP7.3.x, 7.4.x, 7.2.x

Timeline

  • Sep 9, 2020 CVE Published
  • Nov 9, 2020 PoC Published (6 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (7 in total, the first dated here)
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7068
vulnetix vdb fixes CVE-2020-7068

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7068/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • GLSA-202009-10 vendor-advisoryx_refsource_GENTOO
  • x_refsource_CONFIRM
  • DSA-4856 vendor-advisoryx_refsource_DEBIAN
  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›