Medium
Security advisory
A possible open redirect vulnerability in the Host Authorization middleware in Action Pack >= 6.0.0 that could allow attackers to redirect users to a malicious website.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:52 UTC · Revision 1
Source evidence
A possible open redirect vulnerability in the Host Authorization middleware in Action Pack >= 6.0.0 that could allow attackers to redirect users to a malicious website.
osv:CVE-2021-22942
Complete source record
{
"id": "f867553066bcc6a218f859441a75b43736b21fc0218c0e1b7889e1628dd60bda",
"url": "https://osv.dev/vulnerability/CVE-2021-22942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22942",
"summary": "A possible open redirect vulnerability in the Host Authorization middleware in Action Pack >= 6.0.0 that could allow attackers to redirect users to a malicious website.",
"evidence": "osv:CVE-2021-22942",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22942",
"aliases": [
"CVE-2021-22942",
"GHSA-2rqw-v265-jf8c"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rails/rails",
"type": "GIT",
"events": [
{
"introduced": "66cabeda2c46c582d19738e1318be8d59584cc5b"
},
{
"fixed": "0d304eae601f085274b2e2c04316e025b443da62"
},
{
"introduced": "914caca2d31bd753f47f9168f2a375921d9e91cc"
},
{
"fixed": "90357af08048ef5076730505f6e7b14a81f33d0c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.4.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.4.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v6.0.4",
"v6.1.4",
"v6.1.3",
"v6.1.2",
"v6.1.1",
"v6.1.0",
"v6.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22942.json"
}
}
],
"modified": "2026-10-24T10:30:33.638222231Z",
"provider": "osv",
"references": [
"https://security.netapp.com/advisory/ntap-20240202-0005/",
"https://weblog.rubyonrails.org/2021/8/19/Rails-6-0-4-1-and-6-1-4-1-have-been-released/",
"https://www.debian.org/security/2023/dsa-5372"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-22942",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433334,
"published_at": "2021-10-18T13:15:09.323+00:00"
}