jruby, ruby2.3 and 1 more products — security advisory
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.
- Products
- jruby, ruby2.3, ruby2.5
- Affected versions
- 1.5.6-5ubuntu1, 1.5.6-6, 1.5.6-7, 1.7.21-2ubuntu4, 1.7.22-1ubuntu1, 2.3.0-1, 2.3.0-2, 2.3.0-4ubuntu2, 2.3.0-4ubuntu3, 2.3.0-5ubuntu1, 2.3.1-2~16.04, 2.3.1-2~16.04.10, 2.3.1-2~16.04.11, 2.3.1-2~16.04.12, 2.3.1-2~16.04.2, 2.3.1-2~16.04.4, 2.3.1-2~16.04.5, 2.3.1-2~16.04.6, 2.3.1-2~16.04.7, 2.3.1-2~16.04.9, 2.3.1-2~ubuntu16.04.13, 2.5.0-4ubuntu1, 2.5.0-4ubuntu4, 2.5.0-5ubuntu1, 2.5.0-6ubuntu1, 2.5.0~preview1-1ubuntu2, 2.5.1-1ubuntu1, 2.5.1-1ubuntu1.1, 2.5.1-1ubuntu1.2, 2.5.1-1ubuntu1.4, 2.5.1-1ubuntu1.5, 9.1.13.0-1, 9.1.17.0-1~18.04, 9.1.17.0-3, 9.1.17.0-3build5, 9.1.17.0-3build6, 9.3.9.0+ds-1, 9.4.14.0+ds-1, 9.4.5.0+ds-1, 9.4.5.0+ds-1ubuntu1, 9.4.6.0+ds-1ubuntu3, 9.4.8.0+ds-2ubuntu1, 9.4.8.0+ds-3ubuntu1
- Fixed versions
- 1.5.6-9+deb8u2build0.14.04.1~esm2, 2.3.1-2~ubuntu16.04.14, 2.5.1-1ubuntu1.6
- CVEs
- CVE-2019-16201
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:33 UTC · Revision 1
Source evidence
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:UBUNTU-CVE-2019-16201
jruby
Fixed versions: 1.5.6-9+deb8u2build0.14.04.1~esm2
ruby2.3
Fixed versions: 2.3.1-2~ubuntu16.04.14
jruby
Fixed versions: Not specified
ruby2.5
Fixed versions: 2.5.1-1ubuntu1.6
jruby
Fixed versions: Not specified
jruby
Fixed versions: Not specified
jruby
Fixed versions: Not specified
jruby
Fixed versions: Not specified
jruby
Fixed versions: Not specified
jruby
Fixed versions: Not specified
Complete source record
{
"id": "fa7954344c8475b0432612833eb93f04b7fb0663e727c1eb3d065258fce2fab1",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-16201",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2019-16201",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2019-16201",
"products": [
{
"name": {
"value": "jruby",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.5.6-9+deb8u2build0.14.04.1~esm2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1.5.6-5ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.6-6",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.6-7",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ruby2.3",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.1-2~ubuntu16.04.14",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "2.3.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.0-4ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.0-4ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.0-5ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.4",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.5",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.6",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.7",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.9",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.10",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.11",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~16.04.12",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1-2~ubuntu16.04.13",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.21-2ubuntu4",
"evidence": "/affected/2/versions"
},
{
"value": "1.7.22-1ubuntu1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "ruby2.5",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.5.1-1ubuntu1.6",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "2.5.0~preview1-1ubuntu2",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.0-4ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.0-4ubuntu4",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.0-5ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.0-6ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.1-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.1-1ubuntu1.1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.1-1ubuntu1.2",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.1-1ubuntu1.4",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.1-1ubuntu1.5",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.1.13.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "9.1.17.0-1~18.04",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.1.17.0-3",
"evidence": "/affected/5/versions"
},
{
"value": "9.1.17.0-3build5",
"evidence": "/affected/5/versions"
},
{
"value": "9.1.17.0-3build6",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.3.9.0+ds-1",
"evidence": "/affected/6/versions"
},
{
"value": "9.4.5.0+ds-1",
"evidence": "/affected/6/versions"
},
{
"value": "9.4.5.0+ds-1ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "9.4.6.0+ds-1ubuntu3",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.4.8.0+ds-2ubuntu1",
"evidence": "/affected/7/versions"
},
{
"value": "9.4.8.0+ds-3ubuntu1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.4.8.0+ds-3ubuntu1",
"evidence": "/affected/8/versions"
},
{
"value": "9.4.14.0+ds-1",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "jruby",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.4.8.0+ds-3ubuntu1",
"evidence": "/affected/9/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2019-16201",
"aliases": [
"UBUNTU-CVE-2019-16201"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.6-9+deb8u2build0.14.04.1~esm2"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=trusty%2Fesm",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"versions": [
"1.5.6-5ubuntu1",
"1.5.6-6",
"1.5.6-7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "1.5.6-9+deb8u2build0.14.04.1~esm2"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.1-2~ubuntu16.04.14"
}
]
}
],
"package": {
"name": "ruby2.3",
"purl": "pkg:deb/ubuntu/ruby2.3?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.3.0-1",
"2.3.0-2",
"2.3.0-4ubuntu2",
"2.3.0-4ubuntu3",
"2.3.0-5ubuntu1",
"2.3.1-2~16.04",
"2.3.1-2~16.04.2",
"2.3.1-2~16.04.4",
"2.3.1-2~16.04.5",
"2.3.1-2~16.04.6",
"2.3.1-2~16.04.7",
"2.3.1-2~16.04.9",
"2.3.1-2~16.04.10",
"2.3.1-2~16.04.11",
"2.3.1-2~16.04.12",
"2.3.1-2~ubuntu16.04.13"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libruby2.3",
"binary_version": "2.3.1-2~ubuntu16.04.14"
},
{
"binary_name": "ruby2.3",
"binary_version": "2.3.1-2~ubuntu16.04.14"
},
{
"binary_name": "ruby2.3-tcltk",
"binary_version": "2.3.1-2~ubuntu16.04.14"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.7.21-2ubuntu4",
"1.7.22-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "1.7.22-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.1-1ubuntu1.6"
}
]
}
],
"package": {
"name": "ruby2.5",
"purl": "pkg:deb/ubuntu/ruby2.5?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.5.0~preview1-1ubuntu2",
"2.5.0-4ubuntu1",
"2.5.0-4ubuntu4",
"2.5.0-5ubuntu1",
"2.5.0-6ubuntu1",
"2.5.1-1ubuntu1",
"2.5.1-1ubuntu1.1",
"2.5.1-1ubuntu1.2",
"2.5.1-1ubuntu1.4",
"2.5.1-1ubuntu1.5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libruby2.5",
"binary_version": "2.5.1-1ubuntu1.6"
},
{
"binary_name": "ruby2.5",
"binary_version": "2.5.1-1ubuntu1.6"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"9.1.13.0-1",
"9.1.17.0-1~18.04"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "9.1.17.0-1~18.04"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"9.1.17.0-3",
"9.1.17.0-3build5",
"9.1.17.0-3build6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "9.1.17.0-3build6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"9.3.9.0+ds-1",
"9.4.5.0+ds-1",
"9.4.5.0+ds-1ubuntu1",
"9.4.6.0+ds-1ubuntu3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "9.4.6.0+ds-1ubuntu3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"9.4.8.0+ds-2ubuntu1",
"9.4.8.0+ds-3ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "9.4.8.0+ds-3ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"9.4.8.0+ds-3ubuntu1",
"9.4.14.0+ds-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "9.4.14.0+ds-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jruby",
"purl": "pkg:deb/ubuntu/jruby?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"9.4.8.0+ds-3ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jruby",
"binary_version": "9.4.8.0+ds-3ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:55:40.528013015Z",
"provider": "osv",
"upstream": [
"CVE-2019-16201"
],
"references": [
"https://ubuntu.com/security/CVE-2019-16201",
"https://www.ruby-lang.org/en/news/2019/10/01/webrick-regexp-digestauth-dos-cve-2019-16201/",
"https://ubuntu.com/security/notices/USN-4201-1",
"https://www.cve.org/CVERecord?id=CVE-2019-16201"
]
},
"related_cves": [
{
"value": "CVE-2019-16201",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353967,
"published_at": "2019-11-20T00:00:00+00:00"
}