CVE-2011-0447
actionpack Cross-Site Request Forgery vulnerability
Also known as GHSA-24fg-p96v-hxh8
Mitigation
- Upgrade actionpack to one of 2.3.11, 3.0.4 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package actionpack (>= 2.1.0, < 2.3.11)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- actionpack >= 2.1.0, < 2.3.11
- Fixed in
- 2.3.11, 3.0.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.8 (v2.0, NVD)AV:N/AC:M/Au:N/C:P/I:P/A:P
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: Partial
- EPSS
- 1.41% chance of exploitation in 30 days (percentile 73, 2026-11-26)
- CWE
- CWE-352
- Modified
Description
Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage "combinations of browser plugins and HTTP redirects," a related issue to CVE-2011-0696.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems actionpack | >= 2.1.0, < 2.3.11 | 2.3.11, 3.0.4 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2011-0447. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2011-0447.md Affected: actionpack >= 2.1.0, < 2.3.11 Fixed in: 2.3.11, 3.0.4 Steps: 1. Search this machine and project for actionpack (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html
- http://www.debian.org/security/2011/dsa-2247
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html
- https://nvd.nist.gov/vuln/detail/CVE-2011-0447
Patches
- http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails
- http://groups.google.com/group/rubyonrails-security/msg/c22ea1668c0d181c?dmode=source&output=gplain
- https://github.com/rails/rails/commit/66ce3843d32e9f2ac3b1da20067af53019bbb034
- https://github.com/rails/rails/commit/7e86f9b4d2b7dfa974c10ae7e6d8ef90f3d77f06
Other
- http://www.vupen.com/english/advisories/2011/0587
- http://www.securitytracker.com/id?1025060
- http://www.securityfocus.com/bid/46291
- http://secunia.com/advisories/43274
- http://www.vupen.com/english/advisories/2011/0877
- http://secunia.com/advisories/43666
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0447.yml
- https://web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291
- https://web.archive.org/web/20170223045008/http://www.securitytracker.com/id?1025060
FAQ
Is CVE-2011-0447 being exploited?
There is no confirmed exploitation: CVE-2011-0447 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.41% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2011-0447?
Medium: CVSS 6.8 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2011-0447?
actionpack >= 2.1.0, < 2.3.11.
Is there a fix for CVE-2011-0447?
Yes. Fixed in 2.3.11, 3.0.4. Upgrade actionpack to one of 2.3.11, 3.0.4 (or later in the same release line).
How do I check if I'm affected by CVE-2011-0447?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.