Lookup for vulnerable packages by Package URL.
| Purl | pkg:gem/yard@0.5.0 |
| Type | gem |
| Namespace | |
| Name | yard |
| Version | 0.5.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 0.9.36 |
| Latest_non_vulnerable_version | 0.9.42 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-4fgr-usag-z7dm |
| vulnerability_id |
VCID-4fgr-usag-z7dm |
| summary |
YARD's default template vulnerable to Cross-site Scripting in generated frames.html
The "frames.html" file within the Yard Doc's generated documentation is vulnerable to Cross-Site Scripting (XSS) attacks due to inadequate sanitization of user input within the JavaScript segment of the "frames.erb" template file. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-27285, GHSA-8mq4-9jjh-9xrc
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-4fgr-usag-z7dm |
|
| 1 |
| url |
VCID-pnw3-qk8w-ayhc |
| vulnerability_id |
VCID-pnw3-qk8w-ayhc |
| summary |
Directory traversal
`lib/yard/core_ext/file.rb` does not block relative paths with an initial `../` sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2017-17042, GHSA-gj4p-3wh3-2rmf
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-pnw3-qk8w-ayhc |
|
| 2 |
| url |
VCID-xkbj-n36y-8bbr |
| vulnerability_id |
VCID-xkbj-n36y-8bbr |
| summary |
Arbitrary path traversal and file access via `yard server`
A path traversal vulnerability was discovered in YARD <= 0.9.19 when using
`yard server` to serve documentation. This bug would allow unsanitized HTTP
requests to access arbitrary files on the machine of a yard server host under
certain conditions.
The issue is resolved in v0.9.20 and later. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2019-1020001, GHSA-xfhh-rx56-rxcr
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-xkbj-n36y-8bbr |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.0 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:gem/yard@0.5.0 |