原始 OSV JSON{
"id": "GHSA-gj4p-3wh3-2rmf",
"aliases": [
"CVE-2017-17042"
],
"details": "`lib/yard/core_ext/file.rb` in the server in YARD before 0.9.11 does not block relative paths with an initial `../` sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.",
"summary": "Arbitrary file read vulnerability in yard server",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.11"
}
]
}
],
"package": {
"name": "yard",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-07-05T17:53:08Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"published": "2017-12-21T00:47:25Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-17042",
"type": "ADVISORY"
},
{
"url": "https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-gj4p-3wh3-2rmf",
"type": "ADVISORY"
},
{
"url": "https://github.com/lsegal/yard",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2017-17042.yml",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:37:31Z"
}
}