Skip to content
OpenAdvisories
High SUSE-SU-2017:2716-1 3 CVEs

Security update for the Ruby on Rails stack

Published Oct 12, 2017 · Updated Feb 4, 2026

Summary

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

Fixed packages 40

ReleasePackageFixed in
SUSE · Enterprise Storage 3 rubygem-actionmailer-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 3 rubygem-actionpack-4_2 4.2.9-7.3.1
SUSE · Enterprise Storage 3 rubygem-actionview-4_2 4.2.9-9.3.1
SUSE · Enterprise Storage 3 rubygem-activejob-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 3 rubygem-activemodel-4_2 4.2.9-6.3.1
SUSE · Enterprise Storage 3 rubygem-activerecord-4_2 4.2.9-6.3.1
SUSE · Enterprise Storage 3 rubygem-activesupport-4_2 4.2.9-7.3.1
SUSE · Enterprise Storage 3 rubygem-rails-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 3 rubygem-rails-html-sanitizer 1.0.3-8.3.1
SUSE · Enterprise Storage 3 rubygem-railties-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 4 rubygem-actionmailer-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 4 rubygem-actionpack-4_2 4.2.9-7.3.1
SUSE · Enterprise Storage 4 rubygem-actionview-4_2 4.2.9-9.3.1
SUSE · Enterprise Storage 4 rubygem-activejob-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 4 rubygem-activemodel-4_2 4.2.9-6.3.1
SUSE · Enterprise Storage 4 rubygem-activerecord-4_2 4.2.9-6.3.1
SUSE · Enterprise Storage 4 rubygem-activesupport-4_2 4.2.9-7.3.1
SUSE · Enterprise Storage 4 rubygem-rails-4_2 4.2.9-3.3.1
SUSE · Enterprise Storage 4 rubygem-rails-html-sanitizer 1.0.3-8.3.1
SUSE · Enterprise Storage 4 rubygem-railties-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 6 rubygem-actionmailer-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 6 rubygem-actionpack-4_2 4.2.9-7.3.1
SUSE · OpenStack Cloud 6 rubygem-actionview-4_2 4.2.9-9.3.1
SUSE · OpenStack Cloud 6 rubygem-activejob-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 6 rubygem-activemodel-4_2 4.2.9-6.3.1
SUSE · OpenStack Cloud 6 rubygem-activerecord-4_2 4.2.9-6.3.1
SUSE · OpenStack Cloud 6 rubygem-activesupport-4_2 4.2.9-7.3.1
SUSE · OpenStack Cloud 6 rubygem-rails-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 6 rubygem-rails-html-sanitizer 1.0.3-8.3.1
SUSE · OpenStack Cloud 6 rubygem-railties-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 7 rubygem-actionmailer-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 7 rubygem-actionpack-4_2 4.2.9-7.3.1
SUSE · OpenStack Cloud 7 rubygem-actionview-4_2 4.2.9-9.3.1
SUSE · OpenStack Cloud 7 rubygem-activejob-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 7 rubygem-activemodel-4_2 4.2.9-6.3.1
SUSE · OpenStack Cloud 7 rubygem-activerecord-4_2 4.2.9-6.3.1
SUSE · OpenStack Cloud 7 rubygem-activesupport-4_2 4.2.9-7.3.1
SUSE · OpenStack Cloud 7 rubygem-rails-4_2 4.2.9-3.3.1
SUSE · OpenStack Cloud 7 rubygem-rails-html-sanitizer 1.0.3-8.3.1
SUSE · OpenStack Cloud 7 rubygem-railties-4_2 4.2.9-3.3.1

Vulnerabilities 3

  • High 7.5
    CVE-2016-6317 Public exploit

    ActiveRecord in Ruby on Rails allows database-query bypass

    Action Record in Ruby on Rails 4.2.x before 4.2.7.1 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 …

  • High 7.3
    CVE-2016-2098 Public exploit EPSS 81%

    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.

  • Medium 6.1

    actionview Cross-site Scripting vulnerability

    Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute…

References

  • report
    https://bugzilla.suse.com/1055962
  • report
    https://bugzilla.suse.com/968849
  • report
    https://bugzilla.suse.com/993302
  • report
    https://bugzilla.suse.com/993313
  • web
    https://www.suse.com/security/cve/CVE-2016-2098
  • web
    https://www.suse.com/security/cve/CVE-2016-6316
  • web
    https://www.suse.com/security/cve/CVE-2016-6317