Live threats

All CVEs / Ruby-lang

CVE-2019-16201Ruby-lang Ruby

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
4.6%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Nov 26, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 has a regular expression Denial of Service cause by looping/backtracking. A victim must expose a WEBrick server that uses DigestAuth to the Internet or a untrusted network.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≥ 2.4.0 ≤ 2.4.7
ruby-langruby≥ 2.5.0 ≤ 2.5.6
ruby-langruby≥ 2.6.0 ≤ 2.6.4
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.