rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rubyzip | rubyzip | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rubyzip | Rubyzip |
|
||||||||||||
| Rubyzip Project | Rubyzip |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-47m2-wp7j-p9vc | rubyzip path traversal vulnerability |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.564% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rubyzip
Rubyzip rubyzip |
|
| Vendors & Products |
Rubyzip
Rubyzip rubyzip |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix. | |
| Title | rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix | |
| First Time appeared |
Rubyzip Project
Rubyzip Project rubyzip |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:rubyzip_project:rubyzip:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Rubyzip Project
Rubyzip Project rubyzip |
|
| References |
|
|
| Metrics |
cvssV3_1
|