CVE-2021-22881: URL Redirection to Untrusted Site (Open Redirect)
(updated )
The Host Authorization middleware in Action Pack suffers from an open redirect vulnerability. Specially crafted Host
headers in combination with certain “allowed host” formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website. Impacted applications will have allowed hosts with a leading dot. When an allowed host contains a leading dot, a specially crafted Host
header can be used to redirect to a malicious website.
References
Detect and mitigate CVE-2021-22881 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 →