Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rails
  4. ›
  5. CVE-2021-44528

CVE-2021-44528: URL Redirection to Untrusted Site ('Open Redirect')

January 10, 2022 (updated February 8, 2024)

A open redirect vulnerability exists in Action Pack that could allow an attacker to craft a X-Forwarded-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.

References

  • github.com/rails/rails/commit/0fccfb9a3097a9c4260c791f1a40b128517e7815
  • nvd.nist.gov/vuln/detail/CVE-2021-44528

Code Behaviors & Features

Detect and mitigate CVE-2021-44528 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 →

Affected versions

All versions starting from 6.0.4.2 up to 6.1.4.2, version 7.0.0

Fixed versions

  • 6.1.4.3
  • 7.0.1

Solution

Upgrade to versions 6.1.4.3, 7.0.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

gem/rails/CVE-2021-44528.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.