CVE-2021-3690:
Undertow vulnerable to memory exhaustion due to buffer leak
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.67164%
CWE
Published
7/15/2022
Updated
7/7/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.undertow:undertow-core | maven | < 2.0.40 | 2.0.40 |
io.undertow:undertow-core | maven | >= 2.2.0, < 2.2.10 | 2.2.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub patch shows a critical addition of buffer.free()
in FrameHandler.java
's run()
method. This matches the vulnerability description of a buffer leak in PONG message handling. The CWE-401 (Missing Memory Release) directly corresponds to the missing free()
call in the unpatched code path for PONG messages. The code context indicates this was the only missing resource cleanup point related to WebSocket PONG frames.