CVE-2018-16476 Improper Access Control in activejob

High 7.5 Published Updated

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.

Weakness: CWE-502, CWE-284

Which versions are affected by CVE-2018-16476?

8 open source packages ship an affected version, including activejob. It affects 2 products.

PackageAffectedFixed in
activejob RubyGemsFrom 4.2.04.2.11
activejob RubyGemsFrom 4.2.04.2.11
activejob RubyGemsFrom 5.0.05.0.7.1
activejob RubyGemsFrom 5.0.05.0.7.1
activejob RubyGemsFrom 5.1.05.1.6.1
activejob RubyGemsFrom 5.1.05.1.6.1
2 more packages
activejob RubyGemsFrom 5.2.05.2.1.1
activejob RubyGemsFrom 5.2.05.2.1.1
Linux distribution packages (13)
cfme Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-amazon-smartstate Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-appliance Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-appliance-common Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-appliance-debuginfo Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-appliance-tools Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-debuginfo Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-gemset Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
cfme-gemset-debuginfo Red Hat:cloudforms_managementengine:5.9::el7All versions0:5.9.9.1-1.el7cf
rubygem-activejob-4_2 SUSE:Enterprise Storage 4All versions4.2.9-3.6.1
rubygem-activejob-5_1 SUSE:Linux Enterprise High Availability Extension 15All versions5.1.4-3.3.1
rubygem-activejob-4_2 SUSE:OpenStack Cloud 7All versions4.2.9-3.6.1
rubygem-activejob-4_2 SUSE:OpenStack Cloud Crowbar 8All versions4.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.

All Rubyonrails Rails vulnerabilities

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.

Is CVE-2018-16476 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free