CVE-2022-21186
@acrontum/filesystem-template vulnerable to Command Injection due to fetchRepo API missing sanitization
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
The package @acrontum/filesystem-template before 0.0.2 are vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @acrontum/filesystem-template | 0.0.2 |
References
- https://github.com/acrontum/filesystem-template
- https://github.com/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc
- https://github.com/acrontum/filesystem-template/issues/13
- https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc
- https://nvd.nist.gov/vuln/detail/CVE-2022-21186
- https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071