CVE-2022-37623
thlorenz browserify-shim vulnerable to prototype pollution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Prototype pollution vulnerability in function resolveShims in resolve-shims.js in thlorenz browserify-shim 3.8.15 via the shimPath variable in resolve-shims.js.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | browserify-shim | 3.8.16 |
References
- https://github.com/thlorenz/browserify-shim
- https://github.com/thlorenz/browserify-shim/blob/464b32bbe142664cd9796059798f6c738ea3de8f/lib/resolve-shims.js#L158
- https://github.com/thlorenz/browserify-shim/blob/464b32bbe142664cd9796059798f6c738ea3de8f/lib/resolve-shims.js#L94
- https://github.com/thlorenz/browserify-shim/commit/97855e622b6dcd117c77e6583701962ff45e7338
- https://github.com/thlorenz/browserify-shim/issues/248
- https://github.com/thlorenz/browserify-shim/pull/246
- https://nvd.nist.gov/vuln/detail/CVE-2022-37623