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.
Remediation
References
https://github.com/stefanjudis/is-http2/blob/master/index.js%23L23
https://security.snyk.io/vuln/SNYK-JS-ISHTTP2-3153878
Related Vulnerabilities
CVE-2022-31139 Vulnerability in maven package io.github.karlatemp:unsafe-accessor
CVE-2022-39386 Vulnerability in npm package @fastify/websocket
CVE-2018-16473 Vulnerability in npm package takeapeek
CVE-2021-27516 Vulnerability in maven package org.webjars.bower:urijs
CVE-2023-40345 Vulnerability in maven package org.jenkins-ci.plugins:delphix