cve.bz

CVE-2019-16201 Improper Authentication

7.5 highEPSS 5.1%

High (7.5). EPSS 5.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.1% (unchanged from 5.1% a week ago; 5.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-16201 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-16201?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-16201?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-16201 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubyfrom 2.4.0 through 2.4.7
ruby-lang:rubyfrom 2.5.0 through 2.5.6
ruby-lang:rubyfrom 2.6.0 through 2.6.4
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8jruby1.5.6-9+deb8u2DLA-2027-1
Debian8ruby2.12.1.5-2+deb8u8DLA-2007-1
Debian9jruby1.7.26-1+deb9u2DLA-2330-1
Debian9ruby2.32.3.3-1+deb9u7DSA-4587-1
Debian10jruby9.1.17.0-3+deb10u1DLA-3408-1
Debian10ruby2.52.5.5-3+deb10u1DSA-4586-1
Debian12, 13, 14jruby9.3.9.0+ds-1DEBIAN-CVE-2019-16201
Ubuntu16.04:LTSruby2.32.3.1-2~ubuntu16.04.14UBUNTU-CVE-2019-16201 USN-4201-1
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morejrubyno fix listedUBUNTU-CVE-2019-16201
Ubuntu18.04:LTSruby2.52.5.1-1ubuntu1.6UBUNTU-CVE-2019-16201 USN-4201-1
UbuntuPro:14.04:LTSjruby1.5.6-9+deb8u2build0.14.04.1~esm2UBUNTU-CVE-2019-16201
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 4 more0:2.6.7-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3653+beb38eb0RHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.4.1-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.5.0-1.module+el8.1.0+3653+beb38eb0RHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:1.17.2-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-3.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.3.0-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
107 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 moreruby2.12.1.9-19.3.2SUSE-SU-2020:1570-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 2 moreruby2.52.5.7-4.8.1SUSE-SU-2020:0737-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 moreyast2-ruby-bindings3.1.53-9.8.1SUSE-SU-2020:1570-1
openSUSELeap 15.1ruby2.52.5.7-lp151.4.6.1openSUSE-SU-2020:0395-1
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+259+8cec6917ALSA-2021:2587 ALSA-2021:2588
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2623+08a8ba32ALSA-2021:2587 ALSA-2021:2588
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.5.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:2588
AlmaLinux8rubygem-bson, rubygem-bson-doc4.5.0-1.module_el8.5.0+2623+08a8ba32ALSA-2021:2588
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+259+8cec6917ALSA-2021:2587
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.8.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:2588
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.8.0-1.module_el8.5.0+2623+08a8ba32ALSA-2021:2588
AlmaLinux8rubygem-mysql2, rubygem-mysql2-doc0.4.10-4.module_el8.5.0+259+8cec6917ALSA-2021:2587
7 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-107.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8ruby0:2.6.7-107.module+el8.4.0+593+8d7f9f0cRLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.4.0+592+03ff458aRLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.3.0+167+5c390590RLSA-2021:2587
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+446+80b53620RLSA-2021:2588
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+593+8d7f9f0cRLSA-2021:2588
Rocky Linux8rubygem-bundler0:1.16.1-3.module+el8.3.0+167+5c390590RLSA-2021:2587
Rocky Linux8rubygem-bundler0:1.16.1-3.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8rubygem-mongo0:2.5.1-2.module+el8.4.0+349+3470f258RLSA-2021:2587
14 more for Rocky Linux in the JSON.
Alpinev3.7ruby2.4.10-r0ALPINE-CVE-2019-16201
Alpinev3.8, v3.9, v3.10ruby2.5.7-r0ALPINE-CVE-2019-16201
Alpinev3.11, v3.12, v3.13 and 11 moreruby2.6.5-r0ALPINE-CVE-2019-16201

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.5-8040020200923213910.522a0ee4Fixed 2021-06-29RHSA-2021:2587
Red Hat Enterprise Linux 8ruby:2.6-8040020210430142949.522a0ee4Fixed 2021-06-29RHSA-2021:2588
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsruby:2.6-8010020220201152941.c27ad7f8Fixed 2022-02-21RHSA-2022:0581
Red Hat Enterprise Linux 8.2 Extended Update Supportruby:2.6-8020020220201131207.4cda2c84Fixed 2022-02-21RHSA-2022:0582
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby26-ruby-0:2.6.7-119.el7Fixed 2021-06-03RHSA-2021:2230
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby26-ruby-0:2.6.7-119.el7Fixed 2021-06-03RHSA-2021:2230
Red Hat 3scale API Management Platform 23amp-systemWill not fix
Red Hat Enterprise Linux 5rubyOut of support scope
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyWill not fix
Red Hat Software Collectionsrh-ruby24-rubyWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-16201.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON