Server-Side Request Forgery (SSRF) Affecting php8.4-debugsource package, versions <0:8.4.10-1.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PHP84DEBUGSOURCE-11335480
  • published30 Jul 2025
  • disclosed13 Jul 2025

Introduced: 13 Jul 2025

NewCVE-2025-1220  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 php8.4-debugsource to version 0:8.4.10-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1113.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php8.4-debugsource package and not the php8.4-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parse_url() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.

CVSS Base Scores

version 3.1