ADVISORIES

openEuler Security Advisory

OESA-2024-1256

rubygem-yard security update

Details

YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.

Security Fix(es):

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.(CVE-2024-27285)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1rubygem-yard
All versions before 0.9.26-2.oe1 (fixed in 0.9.26-2.oe1)
openEuler:20.03-LTS-SP4rubygem-yard
All versions before 0.9.26-2.oe2003sp4 (fixed in 0.9.26-2.oe2003sp4)
openEuler:22.03-LTSrubygem-yard
All versions before 0.9.26-3.oe2203sp3 (fixed in 0.9.26-3.oe2203sp3)
openEuler:22.03-LTS-SP1rubygem-yard
All versions before 0.9.26-3.oe2203sp1 (fixed in 0.9.26-3.oe2203sp1)
openEuler:22.03-LTS-SP2rubygem-yard
All versions before 0.9.26-3.oe2203sp2 (fixed in 0.9.26-3.oe2203sp2)
openEuler:22.03-LTS-SP3rubygem-yard
All versions before 0.9.26-3.oe2203sp3 (fixed in 0.9.26-3.oe2203sp3)

References