Read the docs
TI-2021-05746 Aliases CVE-2021-22885GHSA-hjg4-8q5f-x6fm

Information disclosure through error messages in https://github.com/rails/rails

Priority MEDIUM 40CWE-209Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 fixed, 3 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-209.

Summary

A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.

Why it matters now

EPSS 0.0405 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial actionpack (RubyGems): 6.0.3.7, 6.1.3.2, 5.2.6 +1Red Hat: 1 advisoryRed Hat: 1 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—https://github.com/rails/rails6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6—No fix listedCNA
—actionpack (RubyGems)6.0.0 to before 6.0.3.76.0.3.7Patch availableGHSA-hjg4-8q5f-x6fm
—actionpack (RubyGems)6.1.0 to before 6.1.3.26.1.3.2Patch availableGHSA-hjg4-8q5f-x6fm
—actionpack (RubyGems)5.2.5 to before 5.2.65.2.6Patch availableGHSA-hjg4-8q5f-x6fm
—actionpack (RubyGems)2.0.0 to before 5.2.4.65.2.4.6Patch availableGHSA-hjg4-8q5f-x6fm
  • https://github.com/rails/rails Vendor— Affected 6.1.3.1, 6.0.3.7, 5.2.4.6, 5.2.6 Fixed in — No fix listed CNA
  • actionpack (RubyGems) Vendor— Affected 6.0.0 to before 6.0.3.7 Fixed in 6.0.3.7 Patch available GHSA-hjg4-8q5f-x6fm
  • actionpack (RubyGems) Vendor— Affected 6.1.0 to before 6.1.3.2 Fixed in 6.1.3.2 Patch available GHSA-hjg4-8q5f-x6fm
  • actionpack (RubyGems) Vendor— Affected 5.2.5 to before 5.2.6 Fixed in 5.2.6 Patch available GHSA-hjg4-8q5f-x6fm
  • actionpack (RubyGems) Vendor— Affected 2.0.0 to before 5.2.4.6 Fixed in 5.2.4.6 Patch available GHSA-hjg4-8q5f-x6fm

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*5.2.0.0 to before 5.2.4.6; 6.0.0.0 to before 6.0.3.7; 6.1.0.0 to before 6.1.3.1VulnerableRails
cpe:2.3:a:rubyonrails:actionpack_page-caching:-:*:*:*:*:*:*:*not specified by NVDVulnerableRails
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* Versions 5.2.0.0 to before 5.2.4.6; 6.0.0.0 to before 6.0.3.7; 6.1.0.0 to before 6.1.3.1 Vulnerable ·Rails
  • cpe:2.3:a:rubyonrails:actionpack_page-caching:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Rails
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-hjg4-8q5f-x6fm actionpack (RubyGems) Fixed in 6.0.3.7 Advisory →
  • Fix · GHSA-hjg4-8q5f-x6fm actionpack (RubyGems) Fixed in 6.1.3.2 Advisory →
  • Fix · GHSA-hjg4-8q5f-x6fm actionpack (RubyGems) Fixed in 5.2.6 Advisory →
  • Fix · GHSA-hjg4-8q5f-x6fm actionpack (RubyGems) Fixed in 5.2.4.6 Advisory →

Red Hat 1 advisory

  • RHSA-2021:4702 Released 2021-11-16 · Red Hat rating Moderate
    Satellite 6.10 Release
    • Red Hat Satellite 6.10 candlepin-4.0.9-1.el7sat, foreman-2.5.2.17-2.el7sat, python-aiohttp-3.7.4-1.el7pc +14
    • Red Hat Satellite Capsule 6.10 foreman-2.5.2.17-2.el7sat, python-aiohttp-3.7.4-1.el7pc, python-ecdsa-0.13.3-2.el7pc +9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
CloudForms Management Engine 5AffectedNo fix planned: Will not fix
Red Hat 3scale API Management Platform 2AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix planned: Will not fix
Red Hat Satellite 6.10Fixed RHSA-2021:4702
Not affected: 2 products
  • Red Hat Satellite 6.10
  • Red Hat Satellite Capsule 6.10

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-22885
  2. 2026-10-03 Alias added: GHSA-hjg4-8q5f-x6fm

References

Sources