Advisory

GHSA-3h4r-pjv6-cph9

Also known as: CVE-2019-8323

Summary

RubyGems Escape sequence injection vulnerability in api response handling

Details

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-06-20 16:05 UTC
Modified
2024-02-16 08:12 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