CVE-2023-22797
Ruby packages · CVE-2023-22797
An open redirect vulnerability is fixed in Rails 7.0.4.1 with the new protection against open redirects from calling redirect_to with untrusted user input. In prior versions the developer was fully responsible for only providing trusted input. However the check introduced could allow an attacker to bypass with a carefully crafted URL resulting in an open redirect vulnerability.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.595% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:35.920Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.680Z | OSV |
| affected | verified | 2026-11-19T12:56:47.540Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:47.540Z | CVE Program |
Affected versions and configuration
n/a https://github.com/rails/rails; default status: unknown: 7.0.4.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "https://github.com/rails/rails",
"versions": [
{
"status": "affected",
"version": "7.0.4.1"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T10:20:30.311Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.1,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-22797",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-24T20:07:07.420667Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-24T20:07:28.983Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-9445-4cr6-336r",
"aliases": [
"CVE-2023-22797"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.4.1"
}
]
}
],
"package": {
"name": "actionpack",
"purl": "pkg:gem/actionpack",
"ecosystem": "RubyGems"
},
"versions": [
"7.0.0",
"7.0.1",
"7.0.2",
"7.0.2.1",
"7.0.2.2",
"7.0.2.3",
"7.0.2.4",
"7.0.3",
"7.0.3.1",
"7.0.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-9445-4cr6-336r/GHSA-9445-4cr6-336r.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22797",
"type": "ADVISORY"
},
{
"url": "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rails/rails/releases/tag/v7.0.4.1",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-22797.yml",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2023-02-09T20:15:00Z",
"github_reviewed_at": "2023-01-18T18:21:23Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | actionpack | Not a distribution channel | 7.0.4.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.680ZArchived source JSON
Source publication: 2023-01-18T18:21:23.000Z
Source modification: 2024-02-16T08:22:57.644ZDocument fingerprint
d399715cc7aaad5b333cd35318e478e46c7b6d1f171c2c980651710472a11e1c - CVE ProgramConsulted: 2026-11-19T12:56:47.540ZArchived source JSON
Source publication: 2023-02-09T00:00:00.000Z
Source modification: 2025-03-24T20:07:28.983ZDocument fingerprint
2c927a5823bd8b520860d673944f878f942162a757b6235dbe17c67b776d623d - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:35.920ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
e984bc4a8ff3b06285e2eddb70222ac8a60d7c809f73be8fc1d22065f95250ad
Official status history
- UNKNOWN → PUBLISHED · · evidence