CVE-2014-0081 json
Rails vulnerable to Cross-site Scripting
published 12y ago modified 4mo ago also GHSA-m46p-ggm5-5j83 , EUVD-2017-0269
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
Multiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.17, 4.0.x before 4.0.3, and 4.1.x before 4.1.0.beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.
Patch / fix
- rubygems rails 3.2.17, 4.0.3
- rubygems actionpack 3.2.17, 4.0.3
- rails Debian 14, Debian 13, Debian 12 2.3.14.1
debian advisories DEBIAN-CVE-2014-0081
- cfme cloudforms managementengine 5 5.2.2.3-1.el6cf
- cfme-lib cloudforms managementengine 5 5.2.2.3-1.el6cf
- ruby193-ruby cloudforms managementengine 5 1.9.3.448-40.1.el6
- cfme-appliance cloudforms managementengine 5 5.2.2.3-1.el6cf
- ruby193-ruby-irb cloudforms managementengine 5 1.9.3.448-40.1.el6
- ruby193-rubygems cloudforms managementengine 5 1.8.23-40.1.el6
- mingw32-cfme-host cloudforms managementengine 5 5.2.2.3-1.el6cf
- ruby193-ruby-libs cloudforms managementengine 5 1.9.3.448-40.1.el6
red hat advisories RHSA-2014:0215RHSA-2014:0306
Is CVE-2014-0081 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-0081 updated cvss 4.3
rubygem-actionpack: number_to_currency, number_to_percentage and number_to_human XSS vulnerability
-
Red Hat OpenShift Enterprise 1 ruby193-rubygem-actionpackaffected: no fix planned “Will not fix”
-
Red Hat OpenStack Platform 3 ruby193-rubygem-actionpack Red Hat OpenStack Platform 4 ruby193-rubygem-actionpack Red Hat Satellite 6 ruby193-rubygem-actionpack Red Hat Software Collections ror40-rubygem-actionpackaffected: no fix available
-
Red Hat Subscription Asset Manager ruby193-rubygem-actionpackaffected: no fix planned “Will not fix”
-
Red Hat Management Engine cfme 5.2.2.3-1.el6cf, cfme-lib 5.2.2.3-1.el6cf, cfme-appliance 5.2.2.3-1.el6cf, ruby193-ruby 1.9.3.448-40.1.el6, ruby193-rubygems 1.8.23-40.1.el6, mingw32-cfme-host 5.2.2.3-1.el6cf, +13 morefixed: vendor fix RHSA-2014:0215
-
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) ruby193-rubygem-actionpack 3.2.8-5.3.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) ruby193-rubygem-actionpack 3.2.8-5.3.el6fixed: vendor fix RHSA-2014:0306
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.03% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rails | >=3.0.0, <3.2.17 >=4.0.0, <4.0.3 |
3.2.17 4.0.3 |
| rubygems | actionpack | >=3.0.0, <3.2.17 >=4.0.0, <4.0.3 |
3.2.17 4.0.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/rails/rails/commit/08d0a11a3f62718d601d39e617c834759cf59bbb
web
-
rhn.redhat.com
/errata/RHSA-2014-0215.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0306.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2014-02/msg00081.html
vendor-advisory, web, third-party-advisory
-
securityfocus.com
/bid/65647
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1029782
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2014/02/18/8
mailing-list, web, third-party-advisory
-
secunia.com
/advisories/57376
third-party-advisory, permissions-required
-
groups.google.com
/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ
mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2014-0081
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0081.yml
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2014-0081.yml
web
-
web.archive.org
/web/20140911141416/http://www.securitytracker.com/id/1029782
web
-
web.archive.org
/web/20170307202606/http://www.securityfocus.com/bid/65647
web
-
web.archive.org
/web/20201207045136/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7f
web
Sources
- CVE List CVE-2014-0081
- GitHub Advisory GHSA-m46p-ggm5-5j83
- NVD CVE-2014-0081
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.