Alpine: php7: security update to 7.2.31-r0

medium Tenable Self-Hosted Container Security Plugin ID 406328

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are
allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized
memory storage, hit the memory limit and stop processing the request, without cleaning up temporary files
created by upload request. This potentially could lead to accumulation of uncleaned temporary files
exhausting the disk space on the target server. (CVE-2019-11048)

- In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload
functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0
(disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist
and encounter null pointer dereference, which would likely lead to a crash. (CVE-2020-7062)

- In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive
using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all
access) even if the original files on the filesystem were with more restrictive permissions. This may
result in files having more lax permissions than intended when such archive is extracted. (CVE-2020-7063)

- In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while parsing EXIF data with
exif_read_data() function, it is possible for malicious data to cause PHP to read one byte of
uninitialized memory. This could potentially lead to information disclosure or crash. (CVE-2020-7064)

- In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers()
with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it.
This may cause some software to make incorrect assumptions about the target of the get_headers() and
possibly send some information to a wrong server. (CVE-2020-7066)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-11048

https://security.alpinelinux.org/vuln/CVE-2020-7062

https://security.alpinelinux.org/vuln/CVE-2020-7063

https://security.alpinelinux.org/vuln/CVE-2020-7064

https://security.alpinelinux.org/vuln/CVE-2020-7066

Plugin Details

Severity: Medium

ID: 406328

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2020-7064

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 2/17/2020

Reference Information

CVE: CVE-2019-11048, CVE-2020-7062, CVE-2020-7063, CVE-2020-7064, CVE-2020-7066

IAVA: 2020-A-0081-S, 2020-A-0117-S, 2020-A-0221-S