Advisory

GHSA-rxq3-gm4p-5fj4

Also known as: CVE-2009-2422

Summary

rails vulnerable to improper authentication

Details

The example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_request_with_http_digest block that returns nil instead of false when the user does not exist, which allows context-dependent attackers to bypass authentication for applications that are derived from this example by sending an invalid username without a password.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-02-16 08:14 UTC

Affected packages and fixes

rails

RubyGems · All systems

Affected

  • introduced 0, fixed 2.3.3 (ecosystem)

Fixed versions

2.3.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences