GHSA-fw2f-7f87-5r6c
Dashboard / Vulnerabilities / GHSA-fw2f-7f87-5r6c
GHSA-fw2f-7f87-5r6c
Published: 17 May 2021Last Modified: 8 Jul 2026
Summary: Improper Input Validation in access-policy
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-7674, https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490
Affected packages
Package
Name: access-policy
Purl: pkg:npm/access-policy
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
