REDHAT-BUG-1692520: High severity rubygems vulnerability

Published Mar 25, 2019
·
Updated

An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensureloadablespec during the preinstall check.

Upstream patch:

https://bugs.ruby-lang.org/attachments/7669

References:

https://www.ruby-lang.org/en/news/2019/03/05/multiple-vulnerabilities-in-rubygems/ https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html

Affected Software

1 affected component
Rubygems RubyGems>=2.6<=3.0.2

Event History

Mar 25, 2019
Data Sourced
via Red Hat·07:05 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-1692520?

The severity of REDHAT-BUG-1692520 is considered critical due to the potential for arbitrary code execution.

2

How do I fix REDHAT-BUG-1692520?

To fix REDHAT-BUG-1692520, upgrade RubyGems to a version higher than 3.0.2, where the vulnerability has been patched.

3

Which versions of RubyGems are affected by REDHAT-BUG-1692520?

RubyGems versions from 2.6 to 3.0.2 are affected by the vulnerability defined in REDHAT-BUG-1692520.

4

Can REDHAT-BUG-1692520 be exploited remotely?

Yes, REDHAT-BUG-1692520 can potentially be exploited remotely through the installation of a malicious gem.

5

What are the consequences of an exploit for REDHAT-BUG-1692520?

Exploiting REDHAT-BUG-1692520 allows an attacker to execute arbitrary code on the victim's system, leading to potential data breaches and system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203