critical9.8
CVE-2022-21186
@acrontum/filesystem-template vulnerable to Command Injection due to fetchRepo API missing sanitization
Impact
The package @acrontum/filesystem-template before 0.0.2 is vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @acrontum/filesystem-template | < 0.0.2 | 0.0.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Acrontum | Filesystem-Template | before 0.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc
- https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071
- https://github.com/advisories/GHSA-m2fc-9h5m-29cm
- https://nvd.nist.gov/vuln/detail/CVE-2022-21186
- https://github.com/acrontum/filesystem-template/issues/13
- https://github.com/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc