Lucene search

K
nvd[email protected]NVD:CVE-2023-45133
HistoryOct 12, 2023 - 5:15 p.m.

CVE-2023-45133

2023-10-1217:15:09
CWE-184
CWE-697
web.nvd.nist.gov
6
babel
compiler
arbitrary code execution
@babel/traverse
vulnerability

CVSS3

8.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

AI Score

9.3

Confidence

High

EPSS

0.001

Percentile

25.6%

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/[email protected] and @babel/[email protected]. Those who cannot upgrade @babel/traverse and are using one of the affected packages mentioned above should upgrade them to their latest version to avoid triggering the vulnerable code path in affected @babel/traverse versions: @babel/plugin-transform-runtime v7.23.2, @babel/preset-env v7.23.2, @babel/helper-define-polyfill-provider v0.4.3, babel-plugin-polyfill-corejs2 v0.4.6, babel-plugin-polyfill-corejs3 v0.8.5, babel-plugin-polyfill-es-shims v0.10.0, babel-plugin-polyfill-regenerator v0.5.3.

Affected configurations

Nvd
Node
debiandebian_linuxMatch10.0
OR
debiandebian_linuxMatch11.0
OR
debiandebian_linuxMatch12.0
Node
babeljsbabelRange<7.23.2nodejs
OR
babeljsbabelMatch8.0.0alpha.0nodejs
OR
babeljsbabelMatch8.0.0alpha.1nodejs
OR
babeljsbabelMatch8.0.0alpha.2nodejs
OR
babeljsbabelMatch8.0.0alpha.3nodejs
Node
babeljsbabel-helper-define-polyfill-providerRange<0.4.3nodejs
OR
babeljsbabel-plugin-polyfill-corejs2Range<0.4.6nodejs
OR
babeljsbabel-plugin-polyfill-corejs3Range<0.8.5nodejs
OR
babeljsbabel-plugin-polyfill-es-shimsRange<0.10.0nodejs
OR
babeljsbabel-plugin-polyfill-regeneratorRange<0.5.3nodejs
OR
babeljsbabel-plugin-transform-runtimeRange<7.23.2nodejs
OR
babeljsbabel-preset-envRange<7.23.2nodejs
VendorProductVersionCPE
debiandebian_linux10.0cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debiandebian_linux11.0cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
debiandebian_linux12.0cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
babeljsbabel*cpe:2.3:a:babeljs:babel:*:*:*:*:*:nodejs:*:*
babeljsbabel8.0.0cpe:2.3:a:babeljs:babel:8.0.0:alpha.0:*:*:*:nodejs:*:*
babeljsbabel8.0.0cpe:2.3:a:babeljs:babel:8.0.0:alpha.1:*:*:*:nodejs:*:*
babeljsbabel8.0.0cpe:2.3:a:babeljs:babel:8.0.0:alpha.2:*:*:*:nodejs:*:*
babeljsbabel8.0.0cpe:2.3:a:babeljs:babel:8.0.0:alpha.3:*:*:*:nodejs:*:*
babeljsbabel-helper-define-polyfill-provider*cpe:2.3:a:babeljs:babel-helper-define-polyfill-provider:*:*:*:*:*:nodejs:*:*
babeljsbabel-plugin-polyfill-corejs2*cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs2:*:*:*:*:*:nodejs:*:*
Rows per page:
1-10 of 151

CVSS3

8.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

AI Score

9.3

Confidence

High

EPSS

0.001

Percentile

25.6%