Advisory

GHSA-fw2f-7f87-5r6c

Also known as: CVE-2020-7674, SNYK-JS-ACCESSPOLICY-571490

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-17 21:00 UTC
Modified
2026-07-08 06:50 UTC

Affected packages and fixes

access-policy

npm · All systems

Affected

  • introduced 0, last affected 3.1.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences