CVE-2019-16201
published 2019-11-26CVE-2019-16201: 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…
PriorityP338high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
5.09%
91.3th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | jruby | < jruby 9.3.9.0+ds-1 (bookworm) | jruby 9.3.9.0+ds-1 (bookworm) |
| jruby | jruby | >= 0 < 9.3.9.0+ds-1 | 9.3.9.0+ds-1 |
| jruby | jruby | >= 0 < 9.3.9.0+ds-1 | 9.3.9.0+ds-1 |
| jruby | jruby | >= 0 < 9.3.9.0+ds-1 | 9.3.9.0+ds-1 |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_ruby_2.6.7-1_on_cbl_mariner_1.0 | — | — |
| 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 | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.07.8HIGHAV:N/AC:L/Au:N/C:N/I:N/A:C
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Ruby vulnerabilities
vendor_ubuntu·2019-11-26·CVSS 6.5
CVE-2019-15845 [MEDIUM] Ruby vulnerabilities
Title: Ruby vulnerabilities
Summary: Several security issues were fixed in Ruby.
It was discovered that Ruby incorrectly handled certain files.
An attacker could possibly use this issue to pass path matching
what can lead to an unauthorized access. (CVE-2019-15845)
It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could use this issue to cause a denial of service.
(CVE-2019-16201)
It was discovered that Ruby incorrectly handled certain HTTP headers.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16254)
It was discovered that Ruby incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16255)
Instructions: In general, a standard system update will make all
Microsoft
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
vendor_msrc·2019-11-12·CVSS 7.5
CVE-2019-16201 [HIGH] CWE-287 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
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information
Red Hat
ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication
vendor_redhat·2019-10-01·CVSS 7.5
CVE-2019-16201 [HIGH] CWE-400 ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication
ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication
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.
Package: 3amp-system (Red Hat 3scale API Management Platform 2) - Will not fix
Package: ruby (Red Hat Enterprise Linux 5) - Out of support scope
Package: ruby (Red Hat Enterprise Linux 6) - Out of support scope
Package: ruby (Red Hat Enterprise Linux 7) - Will not fix
Package: rh-ruby24-ruby (Red Hat Software Collections) - Will not fix
Debian
CVE-2019-16201: jruby - WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2....
vendor_debian·2019·CVSS 7.5
CVE-2019-16201 [HIGH] CVE-2019-16201: jruby - WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2....
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.
Scope: local
bookworm: resolved (fixed in 9.3.9.0+ds-1)
forky: resolved (fixed in 9.3.9.0+ds-1)
sid: resolved (fixed in 9.3.9.0+ds-1)
trixie: resolved (fixed in 9.3.9.0+ds-1)
GHSA
GHSA-26h5-qgg3-p324: WEBrick::HTTPAuth::DigestAuth in Ruby through 2
ghsa_unreviewed·2022-05-24
CVE-2019-16201 [HIGH] CWE-287 GHSA-26h5-qgg3-p324: WEBrick::HTTPAuth::DigestAuth in Ruby through 2
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.
OSV
CVE-2019-16201: WEBrick::HTTPAuth::DigestAuth in Ruby through 2
osv·2019-11-26·CVSS 7.5
CVE-2019-16201 [HIGH] CVE-2019-16201: WEBrick::HTTPAuth::DigestAuth in Ruby through 2
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.
OSV
ruby2.3, ruby2.5 vulnerabilities
osv·2019-11-26·CVSS 6.5
CVE-2019-15845 [MEDIUM] ruby2.3, ruby2.5 vulnerabilities
ruby2.3, ruby2.5 vulnerabilities
It was discovered that Ruby incorrectly handled certain files.
An attacker could possibly use this issue to pass path matching
what can lead to an unauthorized access. (CVE-2019-15845)
It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could use this issue to cause a denial of service.
(CVE-2019-16201)
It was discovered that Ruby incorrectly handled certain HTTP headers.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16254)
It was discovered that Ruby incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-16255)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-16201 ruby: regular expression denial of service vulnerability of WEBrick's Digest access authentication [fedora-all]
bugzilla·2019-11-18·CVSS 7.5
CVE-2019-16201 [HIGH] CVE-2019-16201 ruby: regular expression denial of service vulnerability of WEBrick's Digest access authentication [fedora-all]
CVE-2019-16201 ruby: regular expression denial of service vulnerability of WEBrick's Digest access authentication [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOT
Bugzilla
CVE-2019-16201 ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication
bugzilla·2019-11-18·CVSS 7.5
CVE-2019-16201 [HIGH] CVE-2019-16201 ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication
CVE-2019-16201 ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication
Regular expression denial of service vulnerability of WEBrick’s Digest authentication module was found. An attacker can exploit this vulnerability to cause an effective denial of service against a WEBrick service.
Reference:
https://www.ruby-lang.org/en/news/2019/10/01/webrick-regexp-digestauth-dos-cve-2019-16201/
Discussion:
Created ruby tracking bugs for this issue:
Affects: fedora-all [bug 1773729]
---
External References:
https://www.ruby-lang.org/en/news/2019/10/01/webrick-regexp-digestauth-dos-cve-2019-16201/
---
Upstream patch for this issue:
https://github.com/ruby/ruby/commit/36e057e26ef2104bc2349799d6c52d22bb1c7d03
commit 36e057e26ef2104bc2349799d6c52d22bb1c7d03
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.htmlhttps://hackerone.com/reports/661722https://lists.debian.org/debian-lts-announce/2019/11/msg00025.htmlhttps://lists.debian.org/debian-lts-announce/2019/12/msg00009.htmlhttps://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlhttps://lists.debian.org/debian-lts-announce/2023/04/msg00033.htmlhttps://seclists.org/bugtraq/2019/Dec/31https://seclists.org/bugtraq/2019/Dec/32https://security.gentoo.org/glsa/202003-06https://www.debian.org/security/2019/dsa-4587https://www.oracle.com/security-alerts/cpujan2020.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.htmlhttps://hackerone.com/reports/661722https://lists.debian.org/debian-lts-announce/2019/11/msg00025.htmlhttps://lists.debian.org/debian-lts-announce/2019/12/msg00009.htmlhttps://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlhttps://lists.debian.org/debian-lts-announce/2023/04/msg00033.htmlhttps://seclists.org/bugtraq/2019/Dec/31https://seclists.org/bugtraq/2019/Dec/32https://security.gentoo.org/glsa/202003-06https://www.debian.org/security/2019/dsa-4587https://www.oracle.com/security-alerts/cpujan2020.html
2019-11-26
Published