{"id":"UBUNTU-CVE-2018-14642","details":"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.","modified":"2026-05-20T16:03:32.250911012Z","published":"2018-09-18T13:29:00Z","upstream":["CVE-2018-14642"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-14642"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1628702"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14642"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-14642"}],"affected":[{"package":{"name":"undertow","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libundertow-java","binary_version":"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"}},{"package":{"name":"undertow","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libundertow-java","binary_version":"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"}},{"package":{"name":"undertow","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/undertow?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.23-1"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.0.23-1","binary_name":"libundertow-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"}},{"package":{"name":"undertow","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.8-2","2.3.8-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libundertow-java","binary_version":"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"}},{"package":{"name":"undertow","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/undertow?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.18-1","2.3.18-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.18-2","binary_name":"libundertow-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"}},{"package":{"name":"undertow","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/undertow?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.18-2","2.3.20-1","2.3.20-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libundertow-java","binary_version":"2.3.20-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14642.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}