USN-6731-1

Type: Security
Severity: Medium
Published: 2024-04-15
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

It was discovered that 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. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-17042) It was discovered that yard before 0.9.20 is affected by a path traversal vulnerability, allowing HTTP requests to access arbitrary files under certain conditions. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-1020001) Aviv Keller discovered that 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. (CVE-2024-27285) Update Instructions: Run `sudo pro fix USN-6731-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: yard-doc - 0.9.24-1+deb11u1build0.20.04.1 yard - 0.9.24-1+deb11u1build0.20.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T03:50:42.912Z UTC. Last updated 2025-11-26T08:18:09.665Z UTC.

Upstream Advisory

Affected Packages

  • yard-doc 0.9.24-1+deb11u1build0.20.04.1-0.9.24-1+deb11u1build0.20.04.1

  • yard 0.9.24-1+deb11u1build0.20.04.1-0.9.24-1+deb11u1build0.20.04.1

  • yard-doc 0.9.26-1ubuntu0.1-0.9.26-1ubuntu0.1

  • yard 0.9.26-1ubuntu0.1-0.9.26-1ubuntu0.1

Interested in being alerted when there are new versions of yard-doc and the other packages? Set up an alert.
USN-6731-1: YARD vulnerabilities | Package Alert