CVE-2011-0446
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
4.3
Description
Multiple cross-site scripting (XSS) vulnerabilities in the mail_to helper in Ruby on Rails before 2.3.11, and 3.x before 3.0.4, when javascript encoding is used, allow remote attackers to inject arbitrary web script or HTML via a crafted (1) name or (2) email value.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.3.11-0.1 |
| sid | Fixed | 2.3.11-0.1 |
| forky | Fixed | 2.3.11-0.1 |
| bullseye | Fixed | 2.3.11-0.1 |
| bookworm | Fixed | 2.3.11-0.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | actionpack | <~> 2.3.11 | ~> 2.3.11 |
| RubyGems | actionview | <~> 2.3.11 | ~> 2.3.11 |
| RubyGems | actionpack | <2.3.11 | 2.3.11 |
| RubyGems | actionpack | >=3.0.0,<3.0.4 | 3.0.4 |
| RubyGems | actionview | <2.3.11 | 2.3.11 |
| RubyGems | actionview | >=3.0.0,<3.0.4 | 3.0.4 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubyonrails | rails | 2.0.0 | |
| rubyonrails | rails | 2.0.1 | |
| rubyonrails | rails | 2.0.2 | |
| rubyonrails | rails | 2.0.4 | |
| rubyonrails | rails | 2.1.0 | |
| rubyonrails | rails | 2.1.1 | |
| rubyonrails | rails | 2.1.2 | |
| rubyonrails | rails | 2.2.0 | |
| rubyonrails | rails | 2.2.1 | |
| rubyonrails | rails | 2.2.2 | |
| rubyonrails | rails | 2.3.2 | |
| rubyonrails | rails | 2.3.3 | |
| rubyonrails | rails | 2.3.4 | |
| rubyonrails | rails | 2.3.9 | |
| rubyonrails | rails | 2.3.10 | |
| rubyonrails | rails | 3.0.0 | |
| rubyonrails | rails | 3.0.1 | |
| rubyonrails | rails | 3.0.2 | |
| rubyonrails | rails | 3.0.3 | |
| rubyonrails | rails | 3.0.4 | |
References
- https://groups.google.com/g/rubyonrails-security/c/8CpI7egxX4E/m/SmtqtyOKWzYJ
- http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source&output=gplain
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html
- http://secunia.com/advisories/43274
- http://secunia.com/advisories/43666
- http://www.debian.org/security/2011/dsa-2247
- http://www.securityfocus.com/bid/46291
- http://www.securitytracker.com/id?1025064
- http://www.vupen.com/english/advisories/2011/0587
- http://www.vupen.com/english/advisories/2011/0877
- https://nvd.nist.gov/vuln/detail/CVE-2011-0446
- https://github.com/rails/rails/commit/abe97736b8316f1b714cac56c115c0779aa73217
- https://github.com/rails/rails/commit/e3dd2107c57a8efaaea5d61cf8da65f7444760b2
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0446.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2011-0446.yml
- https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43274
- https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43666
- https://web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291
- https://web.archive.org/web/20200812054342/http://www.securitytracker.com/id?1025064
- https://security-tracker.debian.org/tracker/CVE-2011-0446
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.