Ruby: Multiple vulnerabilities — GLSA 202003-06

Multiple vulnerabilities have been found in Ruby, the worst of which could lead to the remote execution of arbitrary code.

Affected packages

dev-lang/ruby on all architectures
Affected versions < 2.4.9
< 2.5.7
Unaffected versions >= 2.4.9
>= 2.5.7

Background

Ruby is an interpreted object-oriented programming language. The elaborate standard library includes an HTTP server (“WEBRick”) and a class for XML parsing (“REXML”).

Description

Multiple vulnerabilities have been discovered in Ruby. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could execute arbitrary code, have unauthorized access by bypassing intended path matching or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Ruby 2.4.x users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/ruby-2.4.9:2.4"
 

All Ruby 2.5.x users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/ruby-2.5.7:2.5"
 

References

Release date
March 13, 2020

Latest revision
March 13, 2020: 1

Severity
normal

Exploitable
remote

Bugzilla entries