CVE-2013-0155
Description
Ruby on Rails 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 consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.
Predictions
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 Mixed 6 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.3.14.1 |
| sid | Fixed | 2.3.14.1 |
| forky | Fixed | 2.3.14.1 |
| bullseye | Fixed | 2.3.14.1 |
| bookworm | Fixed | 2.3.14.1 |
| 6.0 | Affected | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | activerecord | <~> 2.3.16 | ~> 2.3.16 |
| RubyGems | activerecord | >=3.0.0,<3.0.19 | 3.0.19 |
| RubyGems | activerecord | >=3.1.0,<3.1.10 | 3.1.10 |
| RubyGems | activerecord | >=3.2.0,<3.2.11 | 3.2.11 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubyonrails | rails | {"startIncluding":"3.2.0","endExcluding":"3.2.11"} | 3.2.11 |
| rubyonrails | ruby_on_rails | {"startIncluding":"3.0.0","endExcluding":"3.0.19"} | 3.0.19 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0155
- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html
- http://rhn.redhat.com/errata/RHSA-2013-0154.html
- http://rhn.redhat.com/errata/RHSA-2013-0155.html
- http://support.apple.com/kb/HT5784
- http://www.debian.org/security/2013/dsa-2609
- https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source&output=gplain
- https://puppet.com/security/cve/cve-2013-0155
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-0155.yml
- https://security-tracker.debian.org/tracker/CVE-2013-0155
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.