Miggo Logo

CVE-2022-23524: Helm vulnerable to denial of service through string value parsing

5.3

CVSS Score
3.1

Basic Information

EPSS Score
0.06447%
Published
12/14/2022
Updated
2/21/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Package NameEcosystemVulnerable VersionsFirst Patched Version
helm.sh/helm/v3go<= 3.10.23.10.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from uncontrolled recursion in string parsing functions. The commit adds MaxNestedNameLevel checks to the key() and listItem() functions, which were previously missing. The entry points (Parse, ParseInto, etc.) trigger these recursive functions. The Go vulnerability report explicitly lists 8 strvals functions as affected, and the patch modifies the call chain starting from these entry points through key()/listItem() recursion paths.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*uzz t*stin*, *y *** Lo*i*s *n* sponsor** *y t** *N**, i**nti*i** input to *un*tions in t** _strv*ls_ p**k*** t**t **n **us* * st**k ov*r*low. In *o, * st**k ov*r*low **nnot ** r**ov*r** *rom. *ppli**tions t**t us* *un*tions *rom t** _strv*ls_ p**k**

Reasoning

T** vuln*r**ility st*ms *rom un*ontroll** r**ursion in strin* p*rsin* *un*tions. T** *ommit ***s `M*xN*st**N*m*L*v*l` ****ks to t** `k*y()` *n* `listIt*m()` *un*tions, w*i** w*r* pr*viously missin*. T** *ntry points (P*rs*, P*rs*Into, *t*.) tri***r t