Alpine: php7: security update to 7.1.29-r0

critical Tenable Cloud Security Plugin ID 406312

Description

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

- University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products,
launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen
function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote
attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a
user of a web application) and if rsh has been replaced by a program with different argument semantics.
For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an
IMAP server name containing a "-oProxyCommand" argument. (CVE-2018-19518)

- Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library
(aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to
decrementing the u variable. (CVE-2016-10166)

- An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before
7.2.1. There is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file.
(CVE-2018-5712)

- exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before
7.1.20, and 7.2.x before 7.2.8 allows remote attackers to cause a denial of service (out-of-bounds read
and application crash) via a crafted JPEG file. (CVE-2018-14851)

- An issue was discovered in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before
7.2.8. An Integer Overflow leads to a heap-based buffer over-read in exif_thumbnail_extract of exif.c.
(CVE-2018-14883)

See Also

https://security.alpinelinux.org/vuln/CVE-2016-10166

https://security.alpinelinux.org/vuln/CVE-2018-14851

https://security.alpinelinux.org/vuln/CVE-2018-14883

https://security.alpinelinux.org/vuln/CVE-2018-14884

https://security.alpinelinux.org/vuln/CVE-2018-15132

https://security.alpinelinux.org/vuln/CVE-2018-17082

https://security.alpinelinux.org/vuln/CVE-2018-19395

https://security.alpinelinux.org/vuln/CVE-2018-19396

https://security.alpinelinux.org/vuln/CVE-2018-19518

https://security.alpinelinux.org/vuln/CVE-2018-19935

https://security.alpinelinux.org/vuln/CVE-2018-20783

https://security.alpinelinux.org/vuln/CVE-2018-5712

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 406312

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 12/22/2025

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

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.66

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 7

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

CVSS Score Source: CVE-2018-19518

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

CVSS Score Source: CVE-2019-9641

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 1/28/2017

Exploitable With

Metasploit (php imap_open Remote Code Execution)

Reference Information

CVE: CVE-2016-10166, CVE-2018-14851, CVE-2018-14883, CVE-2018-14884, CVE-2018-15132, CVE-2018-17082, CVE-2018-19395, CVE-2018-19396, CVE-2018-19518, CVE-2018-19935, CVE-2018-20783, CVE-2018-5712, CVE-2019-11034, CVE-2019-11035, CVE-2019-11036, CVE-2019-6977, CVE-2019-9637, CVE-2019-9638, CVE-2019-9639, CVE-2019-9640, CVE-2019-9641

BID: 102742, 104871, 104968, 105205, 105989, 106018, 106143, 106731, 107121, 107379, 107794, 108177, 95869

IAVA: 2024-A-0330-S

IAVB: 2018-B-0010-S, 2018-B-0058-S, 2018-B-0091-S, 2018-B-0126-S, 2018-B-0157-S, 2019-B-0020-S, 2019-B-0030-S, 2019-B-0033-S