CVE-2022-0673 Path Traversal in LemMinX

Medium 6.5 Published Updated

Attackers can exploit directory traversal in LemMinX to poison external schema caches, potentially leading to data exposure or code execution.

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-0673?

CVE-2022-0673 is a medium-severity path traversal vulnerability in LemMinX, 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 LemMinX in versions prior to 0.19.0. Cache poisoning of external schema files due to directory traversal.

Weakness: CWE-22

Which versions are affected by CVE-2022-0673?

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 Eclipse Lemminx.

How do I fix CVE-2022-0673?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-0673 being exploited?

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

Sources

Also known as GHSA-gggp-gh2p-996x.

Is CVE-2022-0673 in your software?

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

Check your SBOMs for free