Security mailing lists by PureSourceCode

CVE-2019-8325

HIGH 7.5CVSS 3.1

RubyGems Escape sequence injection in errors

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

Published
17 Jun 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-74
Also known as
GHSA-4wm8-fjv7-j774
Sources
NVDJSONOSV GHSA-4wm8-fjv7-j774JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubygems rubygems
cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*
>= 2.6.0, <= 3.0.2
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
= 15.0
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
OSV RubyGems rubygems-update >= 2.6.0, < 2.7.9 2.7.9
OSV RubyGems rubygems-update >= 3.0.0, < 3.0.2 3.0.2

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 17 Jun 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jun 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.