npm: is-http2
CVE-2022-25906
Safety vulnerability ID: SFTY-20230201-37558
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.
Overview
is-http2 vulnerable to Improper Input Validation
Advisory
is-http2 vulnerable to Improper Input Validation
How to Fix
We recommend updating is-http2 to the latest non-vulnerable version.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20230201-37558/CVE-2022-25906
- https://nvd.nist.gov/vuln/detail/CVE-2022-25906
- https://security.snyk.io/vuln/SNYK-JS-ISHTTP2-3153878
- https://github.com/stefanjudis/is-http2/blob/master/index.js#L23
- https://github.com/stefanjudis/is-http2/blob/master/index.js%23L23
- https://github.com/advisories/GHSA-2275-rpf5-xv8h
- https://github.com/stefanjudis/is-http2
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more