CVE-2024-5458

MEDIUM

CVSS v3

5.3

MEDIUM

EPSS Score

4.3%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

Description

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.

Technical Details

Published
6/9/2024

Frequently Asked Questions

What is CVE-2024-5458?

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.

Is CVE-2024-5458 actively exploited?

Active exploitation of CVE-2024-5458 has not been confirmed. The EPSS score is 4.3%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-5458?

CVE-2024-5458 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Is CVE-2024-5458 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.