CVE-2015-2309: Unsafe methods in the Request class
The Symfony\Component\HttpFoundation\Request
class provides a mechanism that ensures it does not trust HTTP header values coming from a “non-trusted” client. Unfortunately, it assumes that the remote address is always a trusted client if at least one trusted proxy is involved in the request; this allows a man-in-the-middle attack between the latest trusted proxy and the web server. The following methods are impacted: getPort()
, isSecure()
, getHost()
and getClientIps()
.
References
Detect and mitigate CVE-2015-2309 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →