Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2023-45133

Опубликовано: 12 окт. 2023
Источник: nvd
CVSS3: 9.3
CVSS3: 8.8
EPSS Низкий

Описание

Babel is a compiler for writingJavaScript. In @babel/traverse prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of babel-traverse, using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the path.evaluate()or path.evaluateTruthy() internal Babel methods. Known affected plugins are @babel/plugin-transform-runtime; @babel/preset-env when using its useBuiltIns option; and any "polyfill provider" plugin that depends on @babel/helper-define-polyfill-provider, such as babel-plugin-polyfill-corejs3, babel-plugin-polyfill-corejs2, babel-plugin-polyfill-es-shims, babel-plugin-polyfill-regenerator. No other plugins under the @babel/ namespace are impacted, but third-party plugins might be. Users that only compile trusted code are not impacted. The vulnerability has been fixed in @babel/traverse@7.23.2 and @babel/traverse@8.0.0-alpha.4. Those who cannot

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
Конфигурация 2

Одно из

cpe:2.3:a:babeljs:babel:*:*:*:*:*:nodejs:*:*
Версия до 7.23.2 (исключая)
cpe:2.3:a:babeljs:babel:8.0.0:alpha.0:*:*:*:nodejs:*:*
cpe:2.3:a:babeljs:babel:8.0.0:alpha.1:*:*:*:nodejs:*:*
cpe:2.3:a:babeljs:babel:8.0.0:alpha.2:*:*:*:nodejs:*:*
cpe:2.3:a:babeljs:babel:8.0.0:alpha.3:*:*:*:nodejs:*:*
Конфигурация 3

Одно из

cpe:2.3:a:babeljs:babel-helper-define-polyfill-provider:*:*:*:*:*:nodejs:*:*
Версия до 0.4.3 (исключая)
cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs2:*:*:*:*:*:nodejs:*:*
Версия до 0.4.6 (исключая)
cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs3:*:*:*:*:*:nodejs:*:*
Версия до 0.8.5 (исключая)
cpe:2.3:a:babeljs:babel-plugin-polyfill-es-shims:*:*:*:*:*:nodejs:*:*
Версия до 0.10.0 (исключая)
cpe:2.3:a:babeljs:babel-plugin-polyfill-regenerator:*:*:*:*:*:nodejs:*:*
Версия до 0.5.3 (исключая)
cpe:2.3:a:babeljs:babel-plugin-transform-runtime:*:*:*:*:*:nodejs:*:*
Версия до 7.23.2 (исключая)
cpe:2.3:a:babeljs:babel-preset-env:*:*:*:*:*:nodejs:*:*
Версия до 7.23.2 (исключая)

EPSS

Процентиль: 21%
0.00067
Низкий

9.3 Critical

CVSS3

8.8 High

CVSS3

Дефекты

CWE-184
CWE-697

Связанные уязвимости

CVSS3: 9.3
ubuntu
больше 1 года назад

Babel is a compiler for writingJavaScript. In `@babel/traverse` prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of `babel-traverse`, using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the `path.evaluate()`or `path.evaluateTruthy()` internal Babel methods. Known affected plugins are `@babel/plugin-transform-runtime`; `@babel/preset-env` when using its `useBuiltIns` option; and any "polyfill provider" plugin that depends on `@babel/helper-define-polyfill-provider`, such as `babel-plugin-polyfill-corejs3`, `babel-plugin-polyfill-corejs2`, `babel-plugin-polyfill-es-shims`, `babel-plugin-polyfill-regenerator`. No other plugins under the `@babel/` namespace are impacted, but third-party plugins might be. Users that only compile trusted code are not impacted. The vulnerability has been fixed in `@babel/traverse@7.23.2` and `@babel/traverse@8.0.0-alpha.4`. Those who can...

CVSS3: 8.8
redhat
больше 1 года назад

Babel is a compiler for writingJavaScript. In `@babel/traverse` prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of `babel-traverse`, using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the `path.evaluate()`or `path.evaluateTruthy()` internal Babel methods. Known affected plugins are `@babel/plugin-transform-runtime`; `@babel/preset-env` when using its `useBuiltIns` option; and any "polyfill provider" plugin that depends on `@babel/helper-define-polyfill-provider`, such as `babel-plugin-polyfill-corejs3`, `babel-plugin-polyfill-corejs2`, `babel-plugin-polyfill-es-shims`, `babel-plugin-polyfill-regenerator`. No other plugins under the `@babel/` namespace are impacted, but third-party plugins might be. Users that only compile trusted code are not impacted. The vulnerability has been fixed in `@babel/traverse@7.23.2` and `@babel/traverse@8.0.0-alpha.4`. Those who can...

CVSS3: 9.3
debian
больше 1 года назад

Babel is a compiler for writingJavaScript. In `@babel/traverse` prior ...

CVSS3: 8.8
redos
9 месяцев назад

Уязвимость nodejs-babel-core

CVSS3: 9.3
github
больше 1 года назад

Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code

EPSS

Процентиль: 21%
0.00067
Низкий

9.3 Critical

CVSS3

8.8 High

CVSS3

Дефекты

CWE-184
CWE-697