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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.9.11"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "b0217b3e30dc53d057b1682506333335975e62b4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}