Miggo Logo

CVE-2021-36155: Uncontrolled Resource Consumption in LengthPrefixedMessageReader

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.73852%
Published
6/9/2023
Updated
6/19/2023
KEV Status
No
Technology
TechnologySwift

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
github.com/grpc/grpc-swiftswift< 1.2.01.2.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The advisory and release notes point to LengthPrefixedMessageReader as the component related to the vulnerability. The fix involves limiting the length of received messages, indicating that the read or parsing logic within LengthPrefixedMessageReader is vulnerable.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t *****t** *RP* Swi*t *li*nts *n* s*rv*rs *r* vuln*r**l* to un*ontroll** r*sour** *onsumption *tt**ks. *x**ssiv* m*mory m*y ** *llo**t** w**n p*rsin* m*ss***s. T*is **n l*** to * **ni*l o* s*rvi**. ### P*t***s T** pro*l*m **s ***n *ix** i

Reasoning

T** **visory *n* r*l**s* not*s point to L*n*t*Pr**ix**M*ss***R****r *s t** *ompon*nt r*l*t** to t** vuln*r**ility. T** *ix involv*s limitin* t** l*n*t* o* r***iv** m*ss***s, in*i**tin* t**t t** r*** or p*rsin* lo*i* wit*in L*n*t*Pr**ix**M*ss***R****r