CVE-2022-25940 Denial of Service (DoS)

High 7.5 Published Updated

Attackers can cause a denial of service in lite-server by sending HTTP requests with unparseable control characters.

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

What is CVE-2022-25940?

CVE-2022-25940 is a high-severity denial of service vulnerability in lite-server, published on 21 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of package lite-server are vulnerable to Denial of Service (DoS) when an attacker sends an HTTP request and includes control characters that the decodeURI() function is unable to parse.

Weakness: CWE-20

Which versions are affected by CVE-2022-25940?

4 open source packages ship an affected version, including org.webjars.npm:lite-server and lite-server. It affects 1 product.

PackageAffectedFixed in
org.webjars.npm:lite-server MavenAll versions to 2.2.0None
org.webjars.npm:lite-server MavenAll versions to 2.2.0None
lite-server npmAll versions to 2.6.1None
lite-server npmAll versions to 2.6.1None

Products include Lite-Server Project Lite-Server.

How do I fix CVE-2022-25940?

No fix has been published for CVE-2022-25940 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-25940 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25940 exists.

Sources

Also known as GHSA-89w7-5q45-r53w.

Is CVE-2022-25940 in your software?

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

Check your SBOMs for free