Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rubygems-update
  4. ›
  5. CVE-2018-1000074

CVE-2018-1000074: Deserialization of Untrusted Data

March 13, 2018 (updated May 20, 2019)

RubyGems contains a Deserialization of Untrusted Data vulnerability in owner command that can result in code execution. This attack appears to be exploitable when the victim runs the gem owner command on a gem with a specially crafted YAML file.

References

  • blog.rubygems.org/2018/02/15/2.7.6-released.html
  • nvd.nist.gov/vuln/detail/CVE-2018-1000074

Code Behaviors & Features

Detect and mitigate CVE-2018-1000074 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions after 2.2.9 up to 2.5.0

Fixed versions

  • 2.5.1

Solution

Upgrade to version 2.5.1 or above.

Impact 7.8 HIGH

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

gem/rubygems-update/CVE-2018-1000074.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.