CVE-2017-16226

CRITICAL

static-eval < 2.0.0 - Remote Code Execution via Global Function Constructor Access

Title source: manual
STIX 2.1

Description

The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.

References (3)

Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://nodesecurity.io/advisories/548
Third Party Advisory x_refsource_misc
https://maustin.net/articles/2017-10/static_eval
Patch, Third Party Advisory x_refsource_misc
https://github.com/substack/static-eval/pull/18

Scores

CVSS v3 9.8
EPSS 0.0360
EPSS Percentile 88.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (2)
npm/static-eval 0 - 2.0.0npm
static-eval_project/static-eval < 2.0.0
Published Jun 07, 2018
Tracked Since Feb 18, 2026