Miggo Logo

CVE-2021-3690:
Undertow vulnerable to memory exhaustion due to buffer leak

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.67164%
Published
7/15/2022
Updated
7/7/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
io.undertow:undertow-coremaven< 2.0.402.0.40
io.undertow:undertow-coremaven>= 2.2.0, < 2.2.102.2.10

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*u***r l**k on in*omin* W**So*k*t PON* m*ss***(s) in Un**rtow ***or* *.*.** *n* *.*.** **n l*** to m*mory *x**ustion *n* *llow * **ni*l o* s*rvi**.

Reasoning

T** *it*u* p*t** s*ows * *riti**l ***ition o* `*u***r.*r**()` in `*r*m***n*l*r.j*v*`'s `run()` m*t*o*. T*is m*t***s t** vuln*r**ility **s*ription o* * *u***r l**k in PON* m*ss*** **n*lin*. T** *W*-*** (Missin* M*mory R*l**s*) *ir**tly *orr*spon*s to