Miggo Logo

CVE-2024-32984: Yamux Memory Exhaustion Vulnerability via Active::pending_frames property

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.37667%
Published
5/1/2024
Updated
5/1/2024
KEV Status
No
Technology
TechnologyRust

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
yamuxrust>= 0.13.0, < 0.13.20.13.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the unbounded pending_frames VecDeque in Active<T>. The identified functions directly manipulate this structure by adding frames without size validation. Attackers could exploit TCP flow control to prevent frame drainage, causing these functions to continuously grow the queue until memory exhaustion. The patch replaces VecDeque with bounded Options, confirming these were the problematic entry points.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Summ*ry *tt**k s**n*rio T** Rust impl*m*nt*tion o* t** Y*mux str**m multipl*x*r us*s * v**tor *or p*n*in* *r*m*s. T*is v**tor is not *oun*** in l*n*t*. *v*ry tim* t** Y*mux proto*ol r*quir*s s*n*in* o* * n*w *r*m*, t*is *r*m* **ts *pp*n*** to t*

Reasoning

T** vuln*r**ility st*ms *rom t** un*oun*** `p*n*in*_*r*m*s` `V****qu*` in `**tiv*<T>`. T** i**nti*i** `*un*tions` *ir**tly m*nipul*t* t*is stru*tur* *y ***in* *r*m*s wit*out siz* `v*li**tion`. *tt**k*rs *oul* *xploit `T*P` *low *ontrol to pr*v*nt *r*