CVE-2023-2968 Undefined variable usage in npm package "proxy" leads to remote denial of service
A remote attacker can cause a denial of service in the npm proxy library by sending crafted HTTP requests that trigger a TypeError due to undefined variable usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-2968?
CVE-2023-2968 is a high-severity denial of service vulnerability in proxy_project:proxy, published on 30 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A remote attacker can trigger a denial of service in the socket.remoteAddress variable, by sending a crafted HTTP request. Usage of the undefined variable raises a TypeError exception.
Weakness: CWE-232
Which versions are affected by CVE-2023-2968?
2 open source packages ship an affected version, including proxy. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
proxy npm | From 2.0.0 | 2.1.1 |
proxy npm | From 2.0.0 | 2.1.1 |
Products include Proxy Project Proxy.
How do I fix CVE-2023-2968?
Upgrade proxy to 2.1.1 or later.
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-2023-2968 being exploited?
There is no known exploitation of CVE-2023-2968 in the wild and no public exploit code.
Sources
Also known as GHSA-mj6p-3pc9-wf5m.