GHSA-fw2f-7f87-5r6c

Suggest an improvement
Source
https://github.com/advisories/GHSA-fw2f-7f87-5r6c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-fw2f-7f87-5r6c/GHSA-fw2f-7f87-5r6c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fw2f-7f87-5r6c
Aliases
Published
2021-05-17T21:00:29Z
Modified
2025-01-14T08:57:32.265948Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2020-06-10T16:15:00Z",
    "github_reviewed_at": "2021-05-13T17:15:59Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

npm / access-policy

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.1.0