CVE-2023-45133
"Babel Compiler Code Execution Vulnerability"
Description
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.
INFO
Published Date :
Oct. 12, 2023, 5:15 p.m.
Last Modified :
Nov. 21, 2024, 8:26 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
2.5
Public PoC/Exploit Available at Github
CVE-2023-45133 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2023-45133
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-45133
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Documentação do código de vulnerabilidade do Babel
JavaScript
undefined
JavaScript
A centralized repository of standalone security patches for open source libraries.
appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-45133
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-45133
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82 Added Reference https://github.com/babel/babel/pull/16033 Added Reference https://github.com/babel/babel/releases/tag/v7.23.2 Added Reference https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4 Added Reference https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92 Added Reference https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html Added Reference https://www.debian.org/security/2023/dsa-5528 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Oct. 24, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82 No Types Assigned https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82 Patch Changed Reference Type https://github.com/babel/babel/pull/16033 No Types Assigned https://github.com/babel/babel/pull/16033 Issue Tracking Changed Reference Type https://github.com/babel/babel/releases/tag/v7.23.2 No Types Assigned https://github.com/babel/babel/releases/tag/v7.23.2 Patch Changed Reference Type https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4 No Types Assigned https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4 Patch Changed Reference Type https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92 No Types Assigned https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2023/dsa-5528 No Types Assigned https://www.debian.org/security/2023/dsa-5528 Issue Tracking Added CWE NIST CWE-697 Added CPE Configuration OR *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:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:babeljs:babel:*:*:*:*:*:nodejs:*:* versions up to (excluding) 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:*:* Added CPE Configuration OR *cpe:2.3:a:babeljs:babel-helper-define-polyfill-provider:*:*:*:*:*:nodejs:*:* versions up to (excluding) 0.4.3 *cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs2:*:*:*:*:*:nodejs:*:* versions up to (excluding) 0.4.6 *cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs3:*:*:*:*:*:nodejs:*:* versions up to (excluding) 0.8.5 *cpe:2.3:a:babeljs:babel-plugin-polyfill-es-shims:*:*:*:*:*:nodejs:*:* versions up to (excluding) 0.10.0 *cpe:2.3:a:babeljs:babel-plugin-polyfill-regenerator:*:*:*:*:*:nodejs:*:* versions up to (excluding) 0.5.3 *cpe:2.3:a:babeljs:babel-plugin-transform-runtime:*:*:*:*:*:nodejs:*:* versions up to (excluding) 7.23.2 *cpe:2.3:a:babeljs:babel-preset-env:*:*:*:*:*:nodejs:*:* versions up to (excluding) 7.23.2 -
CVE Modified by [email protected]
Oct. 19, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html [No Types Assigned] -
CVE Modified by [email protected]
Oct. 17, 2023
Action Type Old Value New Value Added Reference https://www.debian.org/security/2023/dsa-5528 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-45133
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-45133
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.02%
score
0.23847
percentile