{"answers":{"affected":"8 open source packages ship an affected version, including activejob. It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-16476 in the wild and no public exploit code.","fix":"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.","what":"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."},"fix_prompt":"Check this codebase for CVE-2018-16476 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2018-16476 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- activejob (RubyGems): affected from 4.2.0; fixed in 4.2.11\n- activejob (RubyGems): affected from 4.2.0; fixed in 4.2.11\n- activejob (RubyGems): affected from 5.0.0; fixed in 5.0.7.1\n- activejob (RubyGems): affected from 5.0.0; fixed in 5.0.7.1\n- activejob (RubyGems): affected from 5.1.0; fixed in 5.1.6.1\n- activejob (RubyGems): affected from 5.1.0; fixed in 5.1.6.1\n- activejob (RubyGems): affected from 5.2.0; fixed in 5.2.1.1\n- activejob (RubyGems): affected from 5.2.0; fixed in 5.2.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-16476/ (Markdown: https://insights.sbomify.com/CVE-2018-16476/index.md)","id":"CVE-2018-16476","markdown":"https://insights.sbomify.com/CVE-2018-16476/index.md","name":"CVE-2018-16476","record":{"aliases":["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"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby on Rails Active Job","requires_auth":"none","summary":"Attackers can exploit unsafe deserialization in Active Job to access unauthorized information via crafted GlobalId inputs.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"cloudforms","vendor":"redhat"},{"product":"rails","vendor":"rubyonrails"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"A Broken Access Control vulnerability in Active Job versions \u003e= 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.","ecosystems":["Red Hat:cloudforms_managementengine:5.9::el7","RubyGems","SUSE:Enterprise Storage 4","SUSE:Linux Enterprise High Availability Extension 15","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud Crowbar 8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Access Control in activejob","id":"CVE-2018-16476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"rubyonrails:rails","products":["rubyonrails:rails"],"type":"deserialization","year":"2018"},"n_packages":21,"n_references":3,"next":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in activestorage","id":"CVE-2018-16477"},"packages":[{"ecosystem":"RubyGems","fixed":["4.2.11"],"introduced":["4.2.0"],"last_affected":[],"package":"activejob","purl":null,"source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["4.2.11"],"introduced":["4.2.0"],"last_affected":[],"package":"activejob","purl":"pkg:gem/activejob","source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["5.0.7.1"],"introduced":["5.0.0"],"last_affected":[],"package":"activejob","purl":null,"source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["5.0.7.1"],"introduced":["5.0.0"],"last_affected":[],"package":"activejob","purl":"pkg:gem/activejob","source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["5.1.6.1"],"introduced":["5.1.0"],"last_affected":[],"package":"activejob","purl":null,"source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["5.1.6.1"],"introduced":["5.1.0"],"last_affected":[],"package":"activejob","purl":"pkg:gem/activejob","source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["5.2.1.1"],"introduced":["5.2.0"],"last_affected":[],"package":"activejob","purl":null,"source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"RubyGems","fixed":["5.2.1.1"],"introduced":["5.2.0"],"last_affected":[],"package":"activejob","purl":"pkg:gem/activejob","source":"GHSA-q2qw-rmrh-vv42"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme","purl":"pkg:rpm/redhat/cfme","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-amazon-smartstate","purl":"pkg:rpm/redhat/cfme-amazon-smartstate","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-appliance","purl":"pkg:rpm/redhat/cfme-appliance","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-appliance-common","purl":"pkg:rpm/redhat/cfme-appliance-common","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-appliance-debuginfo","purl":"pkg:rpm/redhat/cfme-appliance-debuginfo","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-appliance-tools","purl":"pkg:rpm/redhat/cfme-appliance-tools","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-debuginfo","purl":"pkg:rpm/redhat/cfme-debuginfo","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-gemset","purl":"pkg:rpm/redhat/cfme-gemset","source":"RHSA-2019:0600"},{"ecosystem":"Red Hat:cloudforms_managementengine:5.9::el7","fixed":["0:5.9.9.1-1.el7cf"],"introduced":["0"],"last_affected":[],"package":"cfme-gemset-debuginfo","purl":"pkg:rpm/redhat/cfme-gemset-debuginfo","source":"RHSA-2019:0600"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["4.2.9-3.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activejob-4_2","purl":"pkg:rpm/suse/rubygem-activejob-4_2\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:0152-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15","fixed":["5.1.4-3.3.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activejob-5_1","purl":"pkg:rpm/suse/rubygem-activejob-5_1\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015","source":"SUSE-SU-2018:3996-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["4.2.9-3.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activejob-4_2","purl":"pkg:rpm/suse/rubygem-activejob-4_2\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2019:0152-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["4.2.9-3.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activejob-4_2","purl":"pkg:rpm/suse/rubygem-activejob-4_2\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2019:0152-1"}],"prev":{"headline":"Path Traversal in knightjs","id":"CVE-2018-16475"},"products":["https://github.com/rails/rails"],"published":"2018-11-30","related":[{"cvss_score":9.1,"headline":"Auth bypass in CloudForms","id":"CVE-2020-14325","kev_date_added":null,"published":"2020-08-11"},{"cvss_score":8.8,"headline":"Cross-site request forgery in CFME","id":"CVE-2014-0197","kev_date_added":null,"published":"2019-12-13"},{"cvss_score":8.8,"headline":"Code injection in cfme","id":"CVE-2016-5402","kev_date_added":null,"published":"2018-10-31"},{"cvss_score":8.8,"headline":"Missing authorization in CFME","id":"CVE-2016-7071","kev_date_added":null,"published":"2018-09-10"},{"cvss_score":8.8,"headline":"Missing authorization in cfme","id":"CVE-2017-7530","kev_date_added":null,"published":"2018-07-26"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2016-4471","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2016-5383","kev_date_added":null,"published":"2016-08-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can exploit unsafe deserialization in Active Job to access unauthorized information via crafted GlobalId inputs.","url":"https://insights.sbomify.com/CVE-2018-16476/"}