Advisory

GHSA-4wm8-fjv7-j774

Also known as: CVE-2019-8325

Summary

RubyGems Escape sequence injection in errors

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-06-20 16:08 UTC
Modified
2024-02-16 07:59 UTC

Affected packages and fixes

rubygems-update

RubyGems · All systems

Affected

  • introduced 2.6.0, fixed 2.7.9 (ecosystem)

Fixed versions

2.7.9

Fix

The export has no generic command for this ecosystem.

rubygems-update

RubyGems · All systems

Affected

  • introduced 3.0.0, fixed 3.0.2 (ecosystem)

Fixed versions

3.0.2

Fix

The export has no generic command for this ecosystem.

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences