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-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-drill
CVE-2020-13128 Vulnerability in maven package com.googlecode.gwtupload:gwtupload-project
CVE-2020-6858 Vulnerability in maven package com.hotels.styx:styx-server
CVE-2019-5786 Vulnerability in npm package puppeteer
CVE-2022-36599 Vulnerability in maven package net.mingsoft:ms-mcms