CVE-2022-21186 in the critical feed json
Arbitrary Command Injection
published 4y ago modified 4mo ago also GHSA-m2fc-9h5m-29cm , EUVD-2022-6583
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 26.1%
- EPSS 26.1% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @acrontum/filesystem-template 0.0.2
- n/a @acrontum/filesystem-template 0.0.2
Is CVE-2022-21186 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
26.07% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @acrontum/filesystem-template | <0.0.2 |
0.0.2 |
Affected products
- n/a @acrontum/filesystem-template
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc
web, patch, third-party-advisory
-
github.com
/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc
web
-
security.snyk.io
/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21186
advisory
-
github.com
/acrontum/filesystem-template/issues/13
web
-
github.com
/acrontum/filesystem-template
package
Sources
- CVE List CVE-2022-21186
- GitHub Advisory GHSA-m2fc-9h5m-29cm
- NVD CVE-2022-21186
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.