CVE-2022-25906 is-http2 vulnerable to Improper Input Validation
Attackers can execute arbitrary commands via the isH2 function due to missing input sanitization in the is-http2 npm package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-25906?
CVE-2022-25906 is a high-severity command injection vulnerability in is-http2, published on 1 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
All versions of the package is-http2 are vulnerable to Command Injection due to missing input sanitization or other checks, and sandboxes being employed to the isH2 function.
Weakness: CWE-78
Which versions are affected by CVE-2022-25906?
2 open source packages ship an affected version, including is-http2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
is-http2 npm | All versions to 1.2.0 | None |
is-http2 npm | All versions to 1.2.0 | None |
Products include Is-Http2 Project Is-Http2.
How do I fix CVE-2022-25906?
No fix has been published for CVE-2022-25906 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-25906 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25906 exists.
Sources
Also known as GHSA-2275-rpf5-xv8h.