原始 OSV JSON{
"id": "GHSA-gcqq-w6gr-h9j9",
"aliases": [
"CVE-2017-5946"
],
"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.",
"summary": "Directory traversal vulnerability in RubyZip",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.1"
}
]
}
],
"package": {
"name": "rubyzip",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-01-26T20:55:34Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2017-10-24T18:33:35Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-5946",
"type": "ADVISORY"
},
{
"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": "WEB"
},
{
"url": "https://github.com/rubyzip/rubyzip",
"type": "PACKAGE"
},
{
"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",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:36:51Z"
}
}