BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2018-1000079 in Rubygems

Medium 5.5 Fix available

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesyste...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.05.5
EPSS2.8%
EPSS percentile87th
FixAvailable

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Rubygems Rubygems ≤ 2.5.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-1000079
BreachSpider IDBS-2018-GLOBAL-122978-M
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published2018-03-13
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A medium severity vulnerability affects Rubygems systems (CVE-2018-1000079). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6. CVSS vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.

Questions

What is CVE-2018-1000079?

This vulnerability was disclosed in 2018. A medium severity vulnerability affects Rubygems systems (CVE-2018-1000079). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2018-1000079?

CVE-2018-1000079 has CVSS 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N. EPSS: 2.8%.

Is CVE-2018-1000079 actively exploited?

No confirmed active exploitation of CVE-2018-1000079 as of 2026-05-30.

How do I remediate CVE-2018-1000079?

Priority: MONITOR. Advisory: http://blog.rubygems.org/2018/02/15/2.7.6-released.html PSIRT: [email protected]

What systems are affected by CVE-2018-1000079?

CVE-2018-1000079 affects Rubygems Rubygems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Rubygems","product":"Rubygems","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.