Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 542
Alerts This Week
Warning Icon 1 542

Ubuntu 12.04 LTS USN-1582-1 Moderate: RubyGems Malicious File Risks

ubuntu
Calendar Grey September 26, 2012
Scroller Ubuntu
Security Advisory: RubyGems has identified vulnerabilities that may lead to harmful file installations. Ubuntu 12.04 LTS users are urged to follow update guidelines to safeguard their systems
RubyGems could be made to download and install malicious gem files.

Summary

RubyGems could be made to download and install malicious gem files.

Software Description:

- rubygems: package management framework for Ruby libraries/applications

Details:

John Firebaugh discovered that the RubyGems remote gem fetcher did not properly

verify SSL certificates. A remote attacker could exploit this to perform a man

in the middle attack to alter gem files being downloaded for installation.

(CVE-2012-2126)

John Firebaugh discovered that the RubyGems remote gem fetcher allowed

redirection from HTTPS to HTTP. A remote attacker could exploit this to perform

a man in the middle attack to alter gem files being downloaded for

installation. (CVE-2012-2125)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 12.04 LTS:
  rubygems                        1.8.15-1ubuntu0.1

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-1582-1

CVE-2012-2125, CVE-2012-2126

Severity
important
Lowest
Low
Medium
High
Critical

September 26, 2012

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.