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

Critical 9.1 Published Updated

Attackers can trigger blind SSRF or denial of service via large file downloads in the VS Code XML extension.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0671?

CVE-2022-0671 is a critical server-side request forgery vulnerability in vscode-xml, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in vscode-xml in versions prior to 0.19.0. Schema download could lead to blind SSRF or DoS via a large file.

Weakness: CWE-400, CWE-918

Which versions are affected by CVE-2022-0671?

2 open source packages ship an affected version, including org.eclipse.lemminx:lemminx-parent. It affects 1 product.

PackageAffectedFixed in
org.eclipse.lemminx:lemminx-parent MavenAll versions0.19.0
org.eclipse.lemminx:lemminx-parent MavenAll versions0.19.0

Products include Redhat Vscode-Xml.

How do I fix CVE-2022-0671?

Upgrade org.eclipse.lemminx:lemminx-parent to 0.19.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2022-0671 being exploited?

There is no known exploitation of CVE-2022-0671 in the wild and no public exploit code.

Sources

Also known as GHSA-52vv-3vf7-f7wh.

Is CVE-2022-0671 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free