Linux Distros Unpatched Vulnerability : CVE-2024-5458

medium Nessus Plugin ID 230640

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly. (CVE-2024-5458)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2024-5458

https://ubuntu.com/security/CVE-2024-5458

Plugin Details

Severity: Medium

ID: 230640

File Name: unpatched_CVE_2024_5458.nasl

Version: 1.2

Type: local

Agent: unix

Family: Misc.

Published: 3/6/2025

Updated: 8/8/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2024-5458

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:php-ldap, p-cpe:/a:centos:centos:php-opcache, p-cpe:/a:centos:centos:php-bcmath, p-cpe:/a:redhat:enterprise_linux:php-embedded, p-cpe:/a:centos:centos:php-soap, p-cpe:/a:redhat:enterprise_linux:php-fpm, p-cpe:/a:centos:centos:php-xmlrpc, p-cpe:/a:redhat:enterprise_linux:php-xml, p-cpe:/a:redhat:enterprise_linux:php-opcache, p-cpe:/a:redhat:enterprise_linux:php-bcmath, p-cpe:/a:canonical:ubuntu_linux:php5, p-cpe:/a:centos:centos:php-dba, p-cpe:/a:centos:centos:php-gd, p-cpe:/a:redhat:enterprise_linux:php-cli, p-cpe:/a:redhat:enterprise_linux:php-devel, p-cpe:/a:redhat:enterprise_linux:php-enchant, cpe:/o:centos:centos:8, p-cpe:/a:redhat:enterprise_linux:php-gmp, p-cpe:/a:centos:centos:php-recode, p-cpe:/a:redhat:enterprise_linux:php, p-cpe:/a:centos:centos:php-embedded, p-cpe:/a:centos:centos:php-xml, p-cpe:/a:centos:centos:php-dbg, p-cpe:/a:redhat:enterprise_linux:php-ffi, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:centos:centos:php-devel, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, p-cpe:/a:centos:centos:php-pgsql, p-cpe:/a:redhat:enterprise_linux:php-recode, p-cpe:/a:redhat:enterprise_linux:php-gd, p-cpe:/a:redhat:enterprise_linux:php-mysqlnd, p-cpe:/a:redhat:enterprise_linux:php-ldap, p-cpe:/a:redhat:enterprise_linux:php-snmp, p-cpe:/a:redhat:enterprise_linux:php-dbg, p-cpe:/a:centos:centos:php-snmp, p-cpe:/a:redhat:enterprise_linux:php-odbc, p-cpe:/a:redhat:enterprise_linux:php-xmlrpc, p-cpe:/a:centos:centos:php-mbstring, p-cpe:/a:redhat:enterprise_linux:php-mbstring, p-cpe:/a:centos:centos:php, p-cpe:/a:centos:centos:php-odbc, p-cpe:/a:centos:centos:php-pdo, p-cpe:/a:centos:centos:php-ffi, p-cpe:/a:redhat:enterprise_linux:php-common, p-cpe:/a:redhat:enterprise_linux:php-intl, p-cpe:/a:centos:centos:php-cli, p-cpe:/a:redhat:enterprise_linux:php-soap, p-cpe:/a:redhat:enterprise_linux:php-dba, p-cpe:/a:centos:centos:php-process, p-cpe:/a:centos:centos:php-intl, p-cpe:/a:centos:centos:php-gmp, p-cpe:/a:centos:centos:php-mysqlnd, p-cpe:/a:centos:centos:php-fpm, p-cpe:/a:redhat:enterprise_linux:php-pdo, p-cpe:/a:centos:centos:php-common, p-cpe:/a:centos:centos:php-enchant, p-cpe:/a:redhat:enterprise_linux:php-pgsql, p-cpe:/a:redhat:enterprise_linux:php-process

Required KB Items: Host/local_checks_enabled, Host/cpu, global_settings/vendor_unpatched, Host/OS/identifier

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/4/2024

Reference Information

CVE: CVE-2024-5458