HIGH 7.5 RubyGems

RubyGems Escape sequence injection in errors

GHSA-4wm8-fjv7-j774 · CVE-2019-8325

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.)

Ready to move

Start Securing

Free, no credit card | First findings in minutes