CVE-2024-27285
Publication date 29 February 2024
Last updated 24 July 2024
Ubuntu priority
YARD is a Ruby Documentation tool. 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. This vulnerability is fixed in 0.9.36.
Status
Package | Ubuntu Release | Status |
---|---|---|
yard | 24.04 LTS noble |
Not affected
|
22.04 LTS jammy |
Fixed 0.9.26-1ubuntu0.1
|
|
20.04 LTS focal |
Fixed 0.9.24-1+deb11u1build0.20.04.1
|
|
18.04 LTS bionic |
Fixed 0.9.12-2ubuntu0.1~esm1
|
|
16.04 LTS xenial |
Fixed 0.8.7.6+git20160220-3ubuntu0.1~esm1
|
|
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProReferences
Related Ubuntu Security Notices (USN)
- USN-6731-1
- YARD vulnerabilities
- 15 April 2024
Other references
- https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc
- https://github.com/lsegal/yard/commit/d78fc393d603c4fc35975969296ed381146a29d4 (v0.9.35)
- https://github.com/lsegal/yard/commit/c88406e4b78f8dd4ba38c79eea0bcec716dbbef8 (v0.9.36)
- https://github.com/lsegal/yard/commit/2a0b9990b64ceeeb0456177c593e36e204a06df1 (v0.9.36)
- https://github.com/lsegal/yard/commit/a831a596b2a7cabdd2e17855dd179af2ebf3d559 (v0.9.36)
- https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be
- https://www.cve.org/CVERecord?id=CVE-2024-27285