CVE-2017-1000026: mixlib-archive Path Traversal vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.42201%
CWE
Published
5/13/2022
Updated
3/6/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mixlib-archive | rubygems | < 0.4.0 | 0.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient path sanitization when processing tar entries. The fix in version 0.4.0 (via GitHub PR #6) added checks to ignore entries with paths attempting directory traversal. The CHANGELOG explicitly mentions addressing this by ignoring such entries, and the commit diff shows the addition of path validation logic. The function responsible for processing individual tar entries during extraction (likely extract_entry
) would have been the point where this validation was missing, making it the vulnerable function.