PT-2024-40474 · Symfony · Symfony2

Published

2024-05-30

·

Updated

2024-05-30

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions Symfony2 versions prior to the introduction of the fix
Description The issue arises when an application relies on the client IP address returned by the Request::getClientIp() method for making sensitive decisions, such as IP-based access control. This can be exploited due to the trust proxy mode. The estimated number of potentially affected devices is not specified. There is no information about real-world incidents where this issue was exploited. Technical details include the use of the Request::getClientIp() method and the Request::trustProxyData() method, which has been deprecated in favor of Request::setTrustedProxies(). The Request::setTrustedProxies() method takes an array of trusted proxy IP addresses as its argument.
Recommendations For all versions of Symfony2, upgrade to the latest version as soon as possible. Alternatively, apply the provided patches:
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

GHSA-VFM6-R2GC-PWWW

Affected Products

Symfony2