Vulnerability · Published Jun 10, 2020 · Assigned by snyk
CVE-2020-7674
Critical 9.8
In plain English
A critical-severity security flaw in access-policy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities).
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.6%top 14.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
access-policy through 3.1.0 is vulnerable to Arbitrary Code Execution. User input provided to the `template` function is executed by the `eval` function resulting in code execution.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | access-policy | no fix listed | GHSA-fw2f-7f87-5r6c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | access-policy | All versions including 3.1.0 |
References
- https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490 x_refsource_MISC