cve.bz

CVE-2023-28362 rails action pack: Improper Encoding or Escaping of Output

4.0 mediumEPSS 0.3%Fix available

Medium (4.0) in rails action pack. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in actionpack 6.1.7.4, 7.0.5.1.

On this page
The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.

Severity

CVSS 3.1

4.0 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28362 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28362?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28362?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28362 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Rails Action Packfrom 7.0.5.1 before 7.0.5.1
Rails Action Packfrom 6.1.7.4 before 6.1.7.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4g8v-vg43-wpgfRubyGemsactionpack<6.1.7.46.1.7.4
GHSA-4g8v-vg43-wpgfRubyGemsactionpack>=7.0.0 <7.0.5.17.0.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11rails2:6.0.3.7+dfsg-2+deb11u3DLA-4383-1
Debian12rails2:6.1.7.10+dfsg-1~deb12u1DEBIAN-CVE-2023-28362 DSA-5881-1
Debian13, 14rails2:7.2.2.1+dfsg-1DEBIAN-CVE-2023-28362
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 morerailsno fix listedUBUNTU-CVE-2023-28362
Red Hatsatellite:6.14::el8foreman, foreman-cli, foreman-ec2 and 11 more0:3.7.0.10-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8rubygem-foreman_leapp0:1.1.0-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8rubygem-foreman_remote_execution, rubygem-foreman_remote_execution-cockpit0:10.1.2-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8rubygem-katello0:4.9.0.18-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8rubygem-rails, rubygem-railties, rubygem-activejob and 10 more0:6.1.7.4-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8satellite, satellite-cli, satellite-common0:6.14.1-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8satellite-convert2rhel-toolkit0:1.0.0-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8createrepo_c, createrepo_c-libs, python3-createrepo_c and 6 more0:1.0.2-2.el8pcRHSA-2023:7851
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8foreman-installer, foreman-installer-katello1:3.7.0.5-1.el8satRHSA-2023:7851
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8pulpcore-selinux0:2.0.0-1.el8pcRHSA-2023:7851
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-django-import-export, python39-django-import-export0:3.1.0-1.el8pcRHSA-2023:7851
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-gitpython, python39-gitpython0:3.1.40-0.1.el8pcRHSA-2023:7851
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise High Availability Extension 15 SP3 and 2 morerubygem-actionpack-5_15.1.4-150000.3.18.1SUSE-SU-2023:3229-1
SUSEOpenStack Cloud Crowbar 8, OpenStack Cloud Crowbar 9rubygem-actionpack-4_24.2.9-7.18.1SUSE-SU-2023:3255-1
openSUSELeap 15.4, Leap 15.5rubygem-actionpack-5_15.1.4-150000.3.18.1SUSE-SU-2023:3229-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Satellite 6.14 for RHEL 8rubygem-actionpack-0:6.1.7.4-1.el8satFixed 2023-12-14RHSA-2023:7851
Red Hat 3scale API Management Platform 23scale-amp-system-containerWill not fix
Red Hat 3scale API Management Platform 23scale-amp-zync-containerAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28362.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON