OpenID library for Ruby: Server-Side Request Forgery — GLSA 202003-09

A vulnerability in OpenID library for Ruby at worst might allow an attacker to bypass authentication.

Affected packages

dev-ruby/ruby-openid on all architectures
Affected versions < 2.9.2
Unaffected versions >= 2.9.2

Background

A Ruby library for verifying and serving OpenID identities.

Description

It was discovered that OpenID library for Ruby performed discovery first, and then verification.

Impact

A remote attacker could possibly change the URL used for discovery and trick the server into connecting to the URL. This server in turn could be a private server not publicly accessible.

In addition, if the client that uses this library discloses connection errors, this in turn could disclose information from the private server to the attacker.

Workaround

There is no known workaround at this time.

Resolution

All ruby-openid users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-ruby/ruby-openid-2.9.2"
 

References

Release date
March 14, 2020

Latest revision
March 14, 2020: 2

Severity
high

Exploitable
remote

Bugzilla entries