undertow — security advisory
An information leak vulnerability was found in Undertow. If all headers are not written out in the first write() call then the code that handles flushing the buffer will always write out the full contents of the writevBuffer buffer, which may contain data from previous requests.
- Products
- undertow
- Affected versions
- 1.3.11-1, 1.3.16-1, 1.3.16-1ubuntu0.1~esm1, 1.3.4-1, 1.3.5-1, 1.3.7-1, 1.4.20-1, 1.4.21-1, 1.4.22-1, 1.4.23-1, 1.4.23-2build1, 1.4.23-3, 1.4.23-3ubuntu0.1~esm1, 2.3.18-1, 2.3.18-2, 2.3.20-1, 2.3.20-1ubuntu1, 2.3.8-2, 2.3.8-2ubuntu0.1~esm1
- Fixed versions
- 2.0.23-1
- CVEs
- CVE-2018-14642
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:26 UTC · Revision 1
Source evidence
An information leak vulnerability was found in Undertow. If all headers are not written out in the first write() call then the code that handles flushing the buffer will always write out the full contents of the writevBuffer buffer, which may contain data from previous requests.
osv:UBUNTU-CVE-2018-14642
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: 2.0.23-1
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
Complete source record
{
"id": "94733b108476fec3d1973ddc4399474b7fd7b6859de6bbb9db38f4a45e89eed6",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-14642",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2018-14642",
"summary": "An information leak vulnerability was found in Undertow. If all headers are not written out in the first write() call then the code that handles flushing the buffer will always write out the full contents of the writevBuffer buffer, which may contain data from previous requests.",
"evidence": "osv:UBUNTU-CVE-2018-14642",
"products": [
{
"name": {
"value": "undertow",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.16-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.16-1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.20-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.21-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.22-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-2build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-3ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.23-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "undertow",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.8-2",
"evidence": "/affected/3/versions"
},
{
"value": "2.3.8-2ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.18-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.3.18-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.20-1ubuntu1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.18-2",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.20-1",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.20-1ubuntu1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2018-14642",
"aliases": [
"UBUNTU-CVE-2018-14642"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1.3.4-1",
"1.3.5-1",
"1.3.7-1",
"1.3.11-1",
"1.3.16-1",
"1.3.16-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "1.3.16-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1.4.20-1",
"1.4.21-1",
"1.4.22-1",
"1.4.23-1",
"1.4.23-2build1",
"1.4.23-3",
"1.4.23-3ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "1.4.23-3ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.23-1"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.0.23-1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2.3.8-2",
"2.3.8-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.8-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.3.18-1",
"2.3.18-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.18-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.3.20-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.20-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.3.18-2",
"2.3.20-1",
"2.3.20-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.20-1ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:54:55.122952047Z",
"provider": "osv",
"upstream": [
"CVE-2018-14642"
],
"references": [
"https://ubuntu.com/security/CVE-2018-14642",
"https://bugzilla.redhat.com/show_bug.cgi?id=1628702",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14642",
"https://www.cve.org/CVERecord?id=CVE-2018-14642"
]
},
"related_cves": [
{
"value": "CVE-2018-14642",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353596,
"published_at": "2018-09-18T13:29:00+00:00"
}