CVE-2016-2098: Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary…
Noroxi assessment
Priority: This week (action score 60/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- A ready-made attack tool exists and the flaw can be exploited over the network without an account, so priority is at least “This week”.
- Probability of exploitation in the next 30 days: 81.4% (FIRST EPSS); higher than 99.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: rails (Debian:12) 2:4.2.5.2-1; ruby-actionpack-3.2 (Debian:7) 3.2.6-6+deb7u3; rails (Debian:8) 2:4.1.8-1+deb8u2.
Don’t wait for the next maintenance window. Upgrade to rails (Debian:12) 2:4.2.5.2-1; ruby-actionpack-3.2 (Debian:7) 3.2.6-6+deb7u3; rails (Debian:8) 2:4.1.8-1+deb8u2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.
- Published
- Apr 7, 2016
- Updated
- Jun 16, 2026
- EPSS
- 81.4% · 99th percentile
- CWE
- CWE-20
Report tools
Action score
60
Don’t wait for the next maintenance window.
- CVSS
- 29 / 40 · 7.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 24 / 30 · 81.4%
- Ready-made attack tool
- 7 / 60 · floor: at least 60
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| rubyonrails | rails | cpe:2.3:a:rubyonrails:rails |
| rubyonrails | ruby on rails | cpe:2.3:a:rubyonrails:ruby_on_rails |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- rubyonrails rails4.0.0
- rubyonrails rails4.0.1
- rubyonrails rails4.0.10
- rubyonrails rails4.0.2
- rubyonrails rails4.0.3
- rubyonrails rails4.0.4
- rubyonrails rails4.0.5
+12 more rows
- rubyonrails rails4.0.6
- rubyonrails rails4.0.7
- rubyonrails rails4.0.8
- rubyonrails rails4.0.9
- rubyonrails rails4.1.0
- rubyonrails rails4.1.1
- rubyonrails rails4.1.10
- rubyonrails rails4.1.12
- rubyonrails rails4.1.13
- rubyonrails rails4.1.14
- rubyonrails rails4.1.2
- rubyonrails rails4.1.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | rails | before 2:4.2.5.2-1 | 2:4.2.5.2-1 |
| Debian:7 | ruby-actionpack-3.2 | before 3.2.6-6+deb7u3 | 3.2.6-6+deb7u3 |
| Debian:8 | rails | before 2:4.1.8-1+deb8u2 | 2:4.1.8-1+deb8u2 |
| openSUSE:Tumbleweed | rubygem-actionview-4_2 | before 5.0.0.1-1.1 | 5.0.0.1-1.1 |
| Red Hat:rhel_software_collections:2::el6 | rh-ror41-rubygem-actionpack | before 1:4.1.5-4.el6 | 1:4.1.5-4.el6 |
| Red Hat:rhel_software_collections:2::el6 | rh-ror41-rubygem-actionpack-doc | before 1:4.1.5-4.el6 | 1:4.1.5-4.el6 |
| Red Hat:rhel_software_collections:2::el6 | rh-ror41-rubygem-actionview | before 0:4.1.5-5.el6 | 0:4.1.5-5.el6 |
| Red Hat:rhel_software_collections:2::el6 | rh-ror41-rubygem-actionview-doc | before 0:4.1.5-5.el6 | 0:4.1.5-5.el6 |
| Red Hat:rhel_software_collections:2::el6 | ror40-rubygem-actionpack | before 1:4.0.2-7.el6 | 1:4.0.2-7.el6 |
| Red Hat:rhel_software_collections:2::el6 | ror40-rubygem-actionpack-doc | before 1:4.0.2-7.el6 | 1:4.0.2-7.el6 |
| Red Hat:rhel_software_collections:2::el6 | ror40-rubygem-activerecord | before 1:4.0.2-6.el6 | 1:4.0.2-6.el6 |
| Red Hat:rhel_software_collections:2::el6 | ror40-rubygem-activerecord-doc | before 1:4.0.2-6.el6 | 1:4.0.2-6.el6 |
| Red Hat:rhel_software_collections:2::el6 | ror40-rubygem-activesupport | before 1:4.0.2-4.el6 | 1:4.0.2-4.el6 |
| Red Hat:rhel_software_collections:2::el6 | ruby193-rubygem-actionpack | before 1:3.2.8-16.el6 | 1:3.2.8-16.el6 |
| Red Hat:rhel_software_collections:2::el6 | ruby193-rubygem-actionpack-doc | before 1:3.2.8-16.el6 | 1:3.2.8-16.el6 |
| Red Hat:rhel_software_collections:2::el6 | ruby193-rubygem-activerecord | before 1:3.2.8-11.el6 | 1:3.2.8-11.el6 |
| Red Hat:rhel_software_collections:2::el6 | ruby193-rubygem-activerecord-doc | before 1:3.2.8-11.el6 | 1:3.2.8-11.el6 |
| Red Hat:rhel_software_collections:2::el6 | ruby193-rubygem-activesupport | before 1:3.2.8-6.el6 | 1:3.2.8-6.el6 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror41-rubygem-actionpack | before 1:4.1.5-4.el7 | 1:4.1.5-4.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror41-rubygem-actionpack-doc | before 1:4.1.5-4.el7 | 1:4.1.5-4.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror41-rubygem-actionview | before 0:4.1.5-5.el7 | 0:4.1.5-5.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror41-rubygem-actionview-doc | before 0:4.1.5-5.el7 | 0:4.1.5-5.el7 |
| Red Hat:rhel_software_collections:2::el7 | ror40-rubygem-actionpack | before 1:4.0.2-7.el7 | 1:4.0.2-7.el7 |
| Red Hat:rhel_software_collections:2::el7 | ror40-rubygem-actionpack-doc | before 1:4.0.2-7.el7 | 1:4.0.2-7.el7 |
+25
Same product
debian: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV86Now
- CVE-2024-44308The issue was addressed with improved checks.KEV68This week
- CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack64This week
Published before and after this one in the same product
- ← EarlierCVE-2013-7448Feb 23, 2016 · Directory traversal vulnerability in wiki.c in didiwiki allows remote attackers to read arbitrary files via the page parameter to…31Monitor
- ← EarlierCVE-2016-2856Mar 13, 2016 · pt_chown in the glibc package before 2.19-18+deb8u4 on Debian jessie; the elibc package before 2.15-0ubuntu10.14 on Ubuntu 12.04 LTS and…33Monitor
- Later →CVE-2016-2851Apr 7, 2016 · Integer overflow in proto.c in libotr before 4.1.1 on 64-bit platforms allows remote attackers to cause a denial of service (memory…46Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:rails | 2:4.2.5.2-1 · Debian:12 | Package registry (OSV) |
| debian:ruby-actionpack-3.2 | 3.2.6-6+deb7u3 · Debian:7 | Package registry (OSV) |
| opensuse:rubygem-actionview-4_2 | 5.0.0.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:rh-ror41-rubygem-actionpack | 1:4.1.5-4.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-ror41-rubygem-actionpack-doc | 1:4.1.5-4.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ror40-rubygem-actionpack | 1:4.0.2-7.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ror40-rubygem-actionpack-doc | 1:4.0.2-7.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ror40-rubygem-activerecord | 1:4.0.2-6.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ror40-rubygem-activerecord-doc | 1:4.0.2-6.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ror40-rubygem-activesupport | 1:4.0.2-4.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-actionpack | 1:3.2.8-16.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-actionpack-doc | 1:3.2.8-16.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-activerecord | 1:3.2.8-11.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-activerecord-doc | 1:3.2.8-11.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-activesupport | 1:3.2.8-6.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| RubyGems:actionpack | 3.2.22.2 | Package registry (OSV) |
| RubyGems:actionpack | 4.1.14.2 | Package registry (OSV) |
| RubyGems:actionpack | 4.2.5.2 | Package registry (OSV) |
| suse:portus | 2.0.3-2.4 · SUSE:Linux Enterprise Module for Containers 12 | Package registry (OSV) |
| suse:rubygem-actionmailer-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-actionpack-3_2 | 3.2.12-0.26.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:rubygem-actionpack-4_2 | 4.2.9-7.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-actionview-4_1 | 4.1.9-12.1 · SUSE:OpenStack Cloud 5 | Package registry (OSV) |
| suse:rubygem-actionview-4_2 | 4.2.2-8.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activejob-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activemodel-4_2 | 4.2.9-6.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activerecord-4_2 | 4.2.9-6.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activesupport-4_2 | 4.2.9-7.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-rails-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-rails-html-sanitizer | 1.0.3-8.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×12
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | 12 repositories | 2016-03-01 → 2025-04-25 |
| Exploit-DB entry | remote | 2016-07-11 |
| Metasploit module | exploit/multi/http/rails_actionpack_inline_execRuby on Rails ActionPack Inline ERB Code Executionexploit | 2016-03-01 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-38 d
- Metasploit-38 d
- Published
- TodayNov 14, 2026+3873 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- Low
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00086.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/
- www.debian.org/security/2016/dsa-3509
- www.securityfocus.com/bid/83725
- www.securitytracker.com/id/1035122
- groups.google.com/forum/message/raw?msg=rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJ
Vendor advisories and official records. Exploit/PoC links are deliberately left out.