CVE-2018-16476 Improper Access Control in activejob
Attackers can exploit unsafe deserialization in Active Job to access unauthorized information via crafted GlobalId inputs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16476?
CVE-2018-16476 is a high-severity unsafe deserialization vulnerability in Rubyonrails Rails, published on 30 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A Broken Access Control vulnerability in Active Job versions >= 4.2.0 allows an attacker to craft user input which can cause Active Job to deserialize it using GlobalId and give them access to information that they should not have. This vulnerability has been fixed in versions 4.2.11, 5.0.7.1, 5.1.6.1, and 5.2.1.1.
Which versions are affected by CVE-2018-16476?
8 open source packages ship an affected version, including activejob. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
activejob RubyGems | From 4.2.0 | 4.2.11 |
activejob RubyGems | From 4.2.0 | 4.2.11 |
activejob RubyGems | From 5.0.0 | 5.0.7.1 |
activejob RubyGems | From 5.0.0 | 5.0.7.1 |
activejob RubyGems | From 5.1.0 | 5.1.6.1 |
activejob RubyGems | From 5.1.0 | 5.1.6.1 |
2 more packages
activejob RubyGems | From 5.2.0 | 5.2.1.1 |
activejob RubyGems | From 5.2.0 | 5.2.1.1 |
Linux distribution packages (13)
cfme Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-amazon-smartstate Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-appliance Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-appliance-common Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-appliance-debuginfo Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-appliance-tools Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-debuginfo Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-gemset Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
cfme-gemset-debuginfo Red Hat:cloudforms_managementengine:5.9::el7 | All versions | 0:5.9.9.1-1.el7cf |
rubygem-activejob-4_2 SUSE:Enterprise Storage 4 | All versions | 4.2.9-3.6.1 |
rubygem-activejob-5_1 SUSE:Linux Enterprise High Availability Extension 15 | All versions | 5.1.4-3.3.1 |
rubygem-activejob-4_2 SUSE:OpenStack Cloud 7 | All versions | 4.2.9-3.6.1 |
rubygem-activejob-4_2 SUSE:OpenStack Cloud Crowbar 8 | All versions | 4.2.9-3.6.1 |
Products include Redhat Cloudforms, Rubyonrails Rails.
How do I fix CVE-2018-16476?
Upgrade activejob to a fixed version for your release line: 4.2.11, 5.0.7.1, 5.1.6.1 or 5.2.1.1.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-16476 being exploited?
There is no known exploitation of CVE-2018-16476 in the wild and no public exploit code.
Other vulnerabilities in Rubyonrails Rails
Sources
Also known as DEBIAN-CVE-2018-16476, GHSA-q2qw-rmrh-vv42, RHSA-2019:0600, SUSE-SU-2018:3996-1, SUSE-SU-2019:0152-1, UBUNTU-CVE-2018-16476.