Miggo Logo

CVE-2022-0671: Server-Side Request Forgery and Uncontrolled Resource Consumption in LemMinX

9.1

CVSS Score
3.1

Basic Information

EPSS Score
0.57723%
Published
2/19/2022
Updated
2/3/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.eclipse.lemminx:lemminx-parentmaven< 0.19.00.19.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from two key flaws: 1) Unrestricted schema downloads allowed fetching resources via any protocol (not just http/https/ftp), enabling SSRF. 2) No size validation during schema downloads enabled DoS via large files. The fixes in 0.19.0 (protocol restrictions, download controls) and 0.18.3 (external resource settings) directly target these functions. The CacheResourcesManager handles the actual resource retrieval, while XMLSchemaValidator initiates schema resolution - both were missing critical security checks in vulnerable versions.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* *l*w w*s *oun* in vs*o**-xml in v*rsions prior to *.**.*. S***m* *ownlo** *oul* l*** to *lin* SSR* or *oS vi* * l*r** *il*.

Reasoning

T** vuln*r**ility st*ms *rom two k*y *l*ws: *) Unr*stri*t** s***m* *ownlo**s *llow** **t**in* r*sour**s vi* *ny proto*ol (not just *ttp/*ttps/*tp), *n**lin* SSR*. *) No siz* v*li**tion *urin* s***m* *ownlo**s *n**l** *oS vi* l*r** *il*s. T** *ix*s in