Every CVE Search/ Get API key

CVE-2016-2098

actionpack allows remote code execution via application's unrestricted use of render method

7.3 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

81.4%Down 11.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.3

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.

Record
CVE-2016-2098
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-2098
Updated
2026-11-02
EUVDEUVD-2017-0185 No score

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.

Record
EUVD-2017-0185
Updated
2026-11-03
GitHub AdvisoriesGHSA-78rc-8c29-p45g 7.3

actionpack allows remote code execution via application's unrestricted use of render method

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.

Record
GHSA-78rc-8c29-p45g
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-20
Updated
2026-11-02
OSV 7.3

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.

Record
CVE-2016-2098
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2016-2098 7.3

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.

Record
DEBIAN-CVE-2016-2098
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
Show 8 moreShow less
OSVGHSA-78rc-8c29-p45g 7.3

actionpack allows remote code execution via application's unrestricted use of render method

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.

Record
GHSA-78rc-8c29-p45g
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-20
Updated
2026-11-02
OSVopenSUSE-SU-2024:10057-1 No score

ruby2.2-rubygem-actionview-4_2-4.2.7.1-1.1 on GA media

These are all security issues fixed in the ruby2.2-rubygem-actionview-4_2-4.2.7.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10057-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10332-1 No score

ruby2.2-rubygem-actionpack-4_2-4.2.7.1-1.1 on GA media

These are all security issues fixed in the ruby2.2-rubygem-actionpack-4_2-4.2.7.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10332-1
Updated
2026-11-02
OSVSUSE-SU-2016:0854-1 No score

Security update for rubygem-actionview-4_1

This update for rubygem-actionview-4_1 fixes the following issues:

  • CVE-2016-2097: rubygem-actionview: Possible Information Leak Vulnerability in Action View. (bsc#968850)

  • CVE-2016-2098: rubygem-actionpack: Possible remote code execution vulnerability in Action Pack (bsc#968849)

Record
SUSE-SU-2016:0854-1
Updated
2026-11-02
OSVSUSE-SU-2016:0867-1 No score

Security update for rubygem-actionview-4_2

This update for rubygem-actionview-4_2 fixes the following issues:

  • CVE-2016-2098: rubygem-actionpack: Possible remote code execution vulnerability in Action Pack (bsc#968849)
Record
SUSE-SU-2016:0867-1
Updated
2026-11-02
OSVSUSE-SU-2016:0967-1 No score

Security update for rubygem-actionpack-3_2

This update for rubygem-actionpack-3_2 fixes the following issues:

  • CVE-2016-2097: rubygem-actionview: Possible Information Leak Vulnerability in Action View. (bsc#968850)

  • CVE-2016-2098: rubygem-actionpack: Possible remote code execution vulnerability in Action Pack (bsc#968849)

Record
SUSE-SU-2016:0967-1
Updated
2026-11-02
OSVSUSE-SU-2016:1146-1 No score

Security update for portus

Portus was updated to version 2.0.3, which brings several fixes and enhancements:

  • Fixed crono job when a repository could not be found.
  • Fixed compatibility issues with Docker 1.10 and Distribution 2.3.
  • Handle multiple scopes in token requests.
  • Add optional fields to token response.
  • Fixed notification events for Distribution v2.3.
  • Paginate through the catalog properly.
  • Do not remove all the repositories if fetching one fails.
  • Fixed SMTP setup.
  • Don't let crono overflow the 'log' column on the DB.
  • Show the actual LDAP error on invalid login.
  • Fixed the location of crono logs.
  • Always use relative paths.
  • Set RUBYLIB when using portusctl.
  • Don't count hidden teams on the admin panel.
  • Warn developers on unsupported docker-compose versions.
  • Directly invalidate LDAP logins without name and password.
  • Don't show the 'I forgot my password' link on LDAP.

The following Rubygems bundled within Portus have been updated to fix security issues:

  • CVE-2016-2098: rubygem-actionpack (bsc#969943).
  • CVE-2015-7578: rails-html-sanitizer (bsc#963326).
  • CVE-2015-7579: rails-html-sanitizer (bsc#963327).
  • CVE-2015-7580: rails-html-sanitizer (bsc#963328).
  • CVE-2015-7576: rubygem-actionpack, rubygem-activesupport (bsc#963563).
  • CVE-2015-7577: rubygem-activerecord (bsc#963604).
  • CVE-2016-0751: rugygem-actionpack (bsc#963627).
  • CVE-2016-0752: rubygem-actionpack, rubygem-actionview (bsc#963608).
  • CVE-2016-0753: rubygem-activemodel, rubygem-activesupport, rubygem-activerecord (bsc#963617).
  • CVE-2015-7581: rubygem-actionpack (bsc#963625).
Record
SUSE-SU-2016:1146-1
Updated
2026-11-02
OSVSUSE-SU-2017:2716-1 No score

Security update for the Ruby on Rails stack

This update brings version 4.2.9 of the Ruby on Rails stack to provide the latest fixes and improvements from upstream.

The following security issues have been fixed by upstream:

rubygem-actionpack-4_2

  • CVE-2016-2098: Action Pack in Ruby on Rails allowed remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method (bsc#968849).

rubygem-activerecord-4_2

  • CVE-2016-6317: Action Record did not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allowed remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request (bsc#993313).

rubygem-actionview-4_2

  • CVE-2016-6316: Cross-site scripting (XSS) vulnerability in Action View might have allowed remote attackers to inject arbitrary web script or HTML via text declared as 'HTML safe' and used as attribute values in tag handlers (bsc#993302).

Additionally, the following packages have been updated to version 4.2.9:

  • rubygem-rails-4_2
  • rubygem-railties-4_2
  • rubygem-activesupport-4_2
  • rubygem-activerecord-4_2
  • rubygem-activejob-4_2
  • rubygem-actionview-4_2
  • rubygem-actionpack-4_2
  • rubygem-actionmailer-4_2
Record
SUSE-SU-2017:2716-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
actionpack
RubyGems
3.0.0 to 3.2.22.1
3.2.22.2
actionpack
RubyGems
4.0.0 to 4.1.14.1
4.1.14.2
actionpack
RubyGems
4.2.0 to 4.2.5.1
4.2.5.2
rails
Debian:12
before 2:4.2.5.2-1
2:4.2.5.2-1
rails
Debian:13
before 2:4.2.5.2-1
2:4.2.5.2-1
rails
Debian:14
before 2:4.2.5.2-1
2:4.2.5.2-1
ruby-actionpack-3.2
Debian:7
before 3.2.6-6+deb7u3, plus listed versions
3.2.6-63.2.6-6+deb7u13.2.6-6+deb7u2
3.2.6-6+deb7u3
rails
Debian:8
before 2:4.1.8-1+deb8u2, plus listed versions
2:4.1.8-12:4.1.8-1+deb8u1
2:4.1.8-1+deb8u2
actionpack
RubyGems
3.0.0 up to 3.2.22.2, plus listed versions
3.0.13.0.103.0.10.rc13.0.113.0.12
Show 45 moreShow less
3.0.12.rc13.0.133.0.13.rc13.0.143.0.153.0.163.0.173.0.183.0.193.0.23.0.203.0.33.0.43.0.4.rc13.0.53.0.5.rc13.0.63.0.6.rc13.0.6.rc23.0.73.0.7.rc13.0.7.rc23.0.83.0.8.rc13.0.8.rc23.0.8.rc43.0.93.0.9.rc13.0.9.rc33.0.9.rc43.0.9.rc53.1.03.1.0.beta13.1.0.rc13.1.0.rc23.1.0.rc33.1.0.rc43.1.0.rc53.1.0.rc63.1.0.rc83.1.13.1.1.rc13.1.1.rc23.1.1.rc33.1.10
3.2.22.2
actionpack
RubyGems
4.0.0 up to 4.1.14.2, plus listed versions
4.0.14.0.1.rc14.0.1.rc24.0.1.rc34.0.1.rc4
Show 45 moreShow less
4.0.104.0.10.rc14.0.10.rc24.0.114.0.11.14.0.124.0.134.0.13.rc14.0.24.0.34.0.44.0.4.rc14.0.54.0.64.0.6.rc14.0.6.rc24.0.6.rc34.0.74.0.84.0.94.1.04.1.0.beta14.1.0.beta24.1.0.rc14.1.0.rc24.1.14.1.104.1.10.rc14.1.10.rc24.1.10.rc34.1.10.rc44.1.114.1.124.1.12.rc14.1.134.1.13.rc14.1.144.1.14.14.1.14.rc14.1.14.rc24.1.24.1.2.rc14.1.2.rc24.1.2.rc34.1.3
4.1.14.2
Show 78 moreShow less
Affected packages
PackageAffectedFixed
actionpack
RubyGems
4.2.0 up to 4.2.5.2, plus listed versions
4.2.14.2.1.rc14.2.1.rc24.2.1.rc34.2.1.rc4
Show 9 moreShow less
4.2.24.2.34.2.3.rc14.2.44.2.4.rc14.2.54.2.5.14.2.5.rc14.2.5.rc2
4.2.5.2
ror40-rubygem-actionpack
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-7.el6
1:4.0.2-7.el6
ror40-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-7.el6
1:4.0.2-7.el6
ror40-rubygem-activerecord
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-6.el6
1:4.0.2-6.el6
ror40-rubygem-activerecord-doc
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-6.el6
1:4.0.2-6.el6
ror40-rubygem-activesupport
Red Hat:rhel_software_collections:2::el6
before 1:4.0.2-4.el6
1:4.0.2-4.el6
ror40-rubygem-actionpack
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-7.el7
1:4.0.2-7.el7
ror40-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-7.el7
1:4.0.2-7.el7
ror40-rubygem-activerecord
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-6.el7
1:4.0.2-6.el7
ror40-rubygem-activerecord-doc
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-6.el7
1:4.0.2-6.el7
ror40-rubygem-activesupport
Red Hat:rhel_software_collections:2::el7
before 1:4.0.2-4.el7
1:4.0.2-4.el7
ruby193-rubygem-actionpack
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-16.el6
1:3.2.8-16.el6
ruby193-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-16.el6
1:3.2.8-16.el6
ruby193-rubygem-activerecord
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-11.el6
1:3.2.8-11.el6
ruby193-rubygem-activerecord-doc
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-11.el6
1:3.2.8-11.el6
ruby193-rubygem-activesupport
Red Hat:rhel_software_collections:2::el6
before 1:3.2.8-6.el6
1:3.2.8-6.el6
ruby193-rubygem-actionpack
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-16.el7
1:3.2.8-16.el7
ruby193-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-16.el7
1:3.2.8-16.el7
ruby193-rubygem-activerecord
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-11.el7
1:3.2.8-11.el7
ruby193-rubygem-activerecord-doc
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-11.el7
1:3.2.8-11.el7
ruby193-rubygem-activesupport
Red Hat:rhel_software_collections:2::el7
before 1:3.2.8-6.el7
1:3.2.8-6.el7
rh-ror41-rubygem-actionpack
Red Hat:rhel_software_collections:2::el6
before 1:4.1.5-4.el6
1:4.1.5-4.el6
rh-ror41-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el6
before 1:4.1.5-4.el6
1:4.1.5-4.el6
rh-ror41-rubygem-actionview
Red Hat:rhel_software_collections:2::el6
before 0:4.1.5-5.el6
0:4.1.5-5.el6
rh-ror41-rubygem-actionview-doc
Red Hat:rhel_software_collections:2::el6
before 0:4.1.5-5.el6
0:4.1.5-5.el6
rh-ror41-rubygem-actionpack
Red Hat:rhel_software_collections:2::el7
before 1:4.1.5-4.el7
1:4.1.5-4.el7
rh-ror41-rubygem-actionpack-doc
Red Hat:rhel_software_collections:2::el7
before 1:4.1.5-4.el7
1:4.1.5-4.el7
rh-ror41-rubygem-actionview
Red Hat:rhel_software_collections:2::el7
before 0:4.1.5-5.el7
0:4.1.5-5.el7
rh-ror41-rubygem-actionview-doc
Red Hat:rhel_software_collections:2::el7
before 0:4.1.5-5.el7
0:4.1.5-5.el7
rubygem-actionview-4_1
SUSE:OpenStack Cloud 5
before 4.1.9-12.1
4.1.9-12.1
rubygem-actionview-4_2
SUSE:OpenStack Cloud 6
before 4.2.2-8.1
4.2.2-8.1
rubygem-actionview-4_2
SUSE:Enterprise Storage 2.1
before 4.2.2-8.1
4.2.2-8.1
rubygem-actionpack-3_2
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.2.12-0.26.1
3.2.12-0.26.1
rubygem-actionpack-3_2
SUSE:Lifecycle Management Server 1.3
before 3.2.12-0.26.1
3.2.12-0.26.1
rubygem-actionpack-3_2
SUSE:Studio Onsite 1.3
before 3.2.12-0.26.1
3.2.12-0.26.1
rubygem-actionpack-3_2
SUSE:WebYast 1.3
before 3.2.12-0.26.1
3.2.12-0.26.1
portus
SUSE:Linux Enterprise Module for Containers 12
before 2.0.3-2.4
2.0.3-2.4
rubygem-actionmailer-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:OpenStack Cloud 6
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:OpenStack Cloud 6
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionmailer-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:OpenStack Cloud 7
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:OpenStack Cloud 7
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionmailer-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:Enterprise Storage 3
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:Enterprise Storage 3
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:Enterprise Storage 3
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:Enterprise Storage 3
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:Enterprise Storage 3
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:Enterprise Storage 3
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:Enterprise Storage 3
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionmailer-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionpack-4_2
SUSE:Enterprise Storage 4
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-actionview-4_2
SUSE:Enterprise Storage 4
before 4.2.9-9.3.1
4.2.9-9.3.1
rubygem-activejob-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-activemodel-4_2
SUSE:Enterprise Storage 4
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activerecord-4_2
SUSE:Enterprise Storage 4
before 4.2.9-6.3.1
4.2.9-6.3.1
rubygem-activesupport-4_2
SUSE:Enterprise Storage 4
before 4.2.9-7.3.1
4.2.9-7.3.1
rubygem-rails-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-rails-html-sanitizer
SUSE:Enterprise Storage 4
before 1.0.3-8.3.1
1.0.3-8.3.1
rubygem-railties-4_2
SUSE:Enterprise Storage 4
before 4.2.9-3.3.1
4.2.9-3.3.1
rubygem-actionview-4_2
openSUSE:Tumbleweed
before 5.0.0.1-1.1
5.0.0.1-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Show 4 moreShow less
Public exploits
SourceLinkDate
PoC in GitHubhderms/dh-CVE_2016_20982016-03-01
PoC in GitHubits-arun/CVE-2016-20982018-06-19
PoC in GitHubj4k0m/CVE-2016-20982021-08-31
PoC in GitHubsealldeveloper/CVE-2016-2098-PoC2025-04-25

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, Metasploit, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-2098 is a high vulnerability (CVSS 7.3) in Rubyonrails Rails, published March 9, 2016. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 81.4%, the 99th percentile. Fixed in actionpack 3.2.22.2.

References

Show 88 moreShow less
This page doesn't list everything

Left out here: 67 versions. The JSON record has them.

MoveEnter Open