Input validation error in Symfony - CVE-2024-50340

 

Input validation error in Symfony - CVE-2024-50340

Published: November 6, 2024 / Updated: November 8, 2024


Vulnerability identifier: #VU99967
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-50340
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to insufficient validation of user-supplied input with enabled register_argv_argc PHP directive. A remote attacker can pass specially crafted URL to the application and manipulate current PHP environment.


Affected software

Symfony
Debian Linux
Ubuntu
php-symfony (Ubuntu package)
symfony (Debian package)

How to mitigate CVE-2024-50340

Install updates from vendor's website.

Symfony - addressed in versions 5.4.46, 6.4.14, 7.1.7
php-symfony (Ubuntu package) - update to Ubuntu Pro
symfony (Debian package) - addressed in versions 5.4.23+dfsg-1+deb12u3, 5.4.53+dfsg-0+deb12u1, 6.4.41+dfsg-0+deb13u1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins