原始 OSV JSON{
"id": "GHSA-pf8f-w267-mq2h",
"aliases": [
"CVE-2019-18978"
],
"details": "An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.",
"summary": "The rack-cors rubygem may allow directory traveral",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.4"
}
]
}
],
"package": {
"name": "rack-cors",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-01-23T20:22:08Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"published": "2019-11-15T20:26:59Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-18978",
"type": "ADVISORY"
},
{
"url": "https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d",
"type": "WEB"
},
{
"url": "https://github.com/cyu/rack-cors",
"type": "PACKAGE"
},
{
"url": "https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/4571-1",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2021/dsa-4918",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2019-11-14T21:15:00Z",
"github_reviewed_at": "2019-11-15T20:26:35Z"
}
}