CVE-2013-0156
At a glance
- Source
- NVD
- EPSS
- EPSS 99.45 % · percentile 100 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
References
- https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain
- http://www.insinuator.net/2013/01/rails-yaml/
- http://rhn.redhat.com/errata/RHSA-2013-0155.html
- http://www.kb.cert.org/vuls/id/628463
- https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156
- http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html
- http://www.kb.cert.org/vuls/id/380039
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- http://www.debian.org/security/2013/dsa-2604
- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A
- http://rhn.redhat.com/errata/RHSA-2013-0154.html
- https://puppet.com/security/cve/cve-2013-0156
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- http://rhn.redhat.com/errata/RHSA-2013-0153.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-jmgw-6vjg-jjwg — actionpack Improper Input Validation vulnerability
European references
- ENISA EUVD · EUVD-2017-0264
- GCVE · GCVE-0-2013-0156
CERT-FR advisories
- CERTA-2013-AVI-204 — Multiples vulnérabilités dans Google Chrome · cert.ssi.gouv.fr
- CERTA-2013-AVI-187 — Multiples vulnérabilités dans Apple OS X Mountain Lion · cert.ssi.gouv.fr
- CERTA-2013-AVI-097 — Multiples vulnérabilités dans Apple OS X Server · cert.ssi.gouv.fr
- CERTA-2013-AVI-024 — Vulnérabilités dans Ruby on Rails · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*≥ 3.2.0 < 3.2.11cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*< 2.3.15cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*≥ 3.0.0 < 3.0.19cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*≥ 3.1.0 < 3.1.10cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |