GHSA-GCQQ-W6GR-H9J9
Vulnerability from github – Published: 2017-10-24 18:33 – Updated: 2023-01-26 20:55
VLAI?
Summary
Directory traversal vulnerability in RubyZip
Details
The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. If a site allows uploading of .zip files, an attacker can upload a malicious file that uses ../ pathname substrings to write arbitrary files to the filesystem.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "rubyzip"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2017-5946"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:36:51Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "The `Zip::File` component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. If a site allows uploading of .zip files, an attacker can upload a malicious file that uses `../` pathname substrings to write arbitrary files to the filesystem.",
"id": "GHSA-gcqq-w6gr-h9j9",
"modified": "2023-01-26T20:55:34Z",
"published": "2017-10-24T18:33:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5946"
},
{
"type": "WEB",
"url": "https://github.com/rubyzip/rubyzip/issues/315"
},
{
"type": "WEB",
"url": "https://github.com/rubyzip/rubyzip/commit/ce4208fdecc2ad079b05d3c49d70fe6ed1d07016"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2017-5946.yml"
},
{
"type": "PACKAGE",
"url": "https://github.com/rubyzip/rubyzip"
},
{
"type": "WEB",
"url": "https://github.com/rubyzip/rubyzip/releases"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20200227185727/http://www.securityfocus.com/bid/96445"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2017/dsa-3801"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Directory traversal vulnerability in RubyZip"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…