CVE-2019-16201Ruby-lang Ruby
High 7.5 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≥ 2.4.0 ≤ 2.4.7 |
| ruby-lang | ruby | ≥ 2.5.0 ≤ 2.5.6 |
| ruby-lang | ruby | ≥ 2.6.0 ≤ 2.6.4 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- hackerone.com Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org
- lists.debian.org
- lists.debian.org
- seclists.org
- seclists.org
- security.gentoo.org
- www.debian.org
- www.oracle.com