Advisory

USN-6731-1

Also known as: CVE-2017-17042, CVE-2019-1020001, CVE-2024-27285

Summary

yard vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2024-04-15 10:27 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

yard

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.9.24-1+deb11u1build0.20.04.1 (ecosystem)

Fixed versions

0.9.24-1+deb11u1build0.20.04.1

Fix

  • Fixed version 0.9.24-1+deb11u1build0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

yard

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.9.26-1ubuntu0.1 (ecosystem)

Fixed versions

0.9.26-1ubuntu0.1

Fix

  • Fixed version 0.9.26-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences