PT-2021-3173

CVE-2021-23334

·

تاريخ النشر

2021-02-11

·

تاريخ التحديث

2026-10-12

الوصف من

CVSS 2.0
10
حرجة
المقاييسAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions static-eval versions prior to a fixed version
Description The issue is related to incorrect code generation management in the FunctionExpressions and TemplateLiterals functions of the static-eval package. This can allow a remote attacker to execute arbitrary code. The exploitation involves using the evaluate function from the static-eval package and the parse function from the esprima package to execute malicious code. For example, an attacker can use the eval function to execute system commands, such as console.log(global.process.mainModule.constructor. load('child process').execSync('ls').toString()). However, it's worth noting that this issue was later deemed not a vulnerability, as discussed in the related issue on GitHub.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-8V27-2FG9-7H62
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾