GitHub Advisoryadvisory · RubyGems
GHSA-xgr2-v94m-rc9g activesupport in Rails vulnerable to incorrect data conversion
HIGH
Official page ↗
- Aliases
- CVE-2013-0333
- Ecosystem
- RubyGems
- Packages
- activesupport
- Severity
- High
- Weaknesses
- CWE-74
- Reviewed
- 2020-06-16
Affected packages
• RubyGems activesupport: >= 2.3.2, < 2.3.16 → fixed in 2.3.16
• RubyGems activesupport: >= 3.0.0, < 3.0.20 → fixed in 3.0.20
Description
`lib/active_support/json/backends/yaml.rb` in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulnerability than CVE-2013-0156.
Related
Alias · CVE (1)
- CVE-2013-0333 lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data… vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0333 advisory
- https://access.redhat.com/errata/RHSA-2013:0201 web
- https://access.redhat.com/errata/RHSA-2013:0202 web
- https://access.redhat.com/errata/RHSA-2013:0203 web
- https://access.redhat.com/security/cve/CVE-2013-0333 web
- https://bugzilla.redhat.com/show_bug.cgi?id=903440 web
- https://github.com/advisories/GHSA-xgr2-v94m-rc9g advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2013-0333.yml web
- https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/1h2DR63ViGo web
- https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain web
- https://puppet.com/security/cve/cve-2013-0333 web
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html web
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html web
- http://rhn.redhat.com/errata/RHSA-2013-0201.html web
- http://rhn.redhat.com/errata/RHSA-2013-0202.html web
- http://rhn.redhat.com/errata/RHSA-2013-0203.html web
- http://support.apple.com/kb/HT5784 web
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released web
- http://www.debian.org/security/2013/dsa-2613 web
- http://www.kb.cert.org/vuls/id/628463 web