~ / search / GHSA-4wm8-fjv7-j774

GHSA-4wm8-fjv7-j774

RubyGems Escape sequence injection in errors

Source: GitHub Advisory Database (reviewed) High CVE-2019-8325

Packages

EcosystemPackageAffectedFixed in
RubyGems rubygems-update >= 2.6.0, < 2.7.9 2.7.9
RubyGems rubygems-update >= 3.0.0, < 3.0.2 3.0.2

Details

As written in the advisory (Markdown source, shown as plain text).

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::CommandManager#run calls alert_error without escaping, escape sequence injection is possible. (There are many ways to cause an error.)

References

External links from the advisory. They lead to third-party sites.