9.3
CRITICAL
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.

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.

ID Vendor Product Action
1 Babeljs babel
2 Babeljs babel-helper-define-polyfill-provider
3 Babeljs babel-plugin-polyfill-corejs2
4 Babeljs babel-plugin-polyfill-corejs3
5 Babeljs babel-plugin-polyfill-es-shims
6 Babeljs babel-plugin-polyfill-regenerator
7 Babeljs babel-plugin-transform-runtime
8 Babeljs babel-preset-env
1 Debian debian_linux

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

Updated: 1 year ago
1 stars 0 fork 0 watcher
Born at : Oct. 25, 2023, 12:10 a.m. This repo has been linked 1 different CVEs too.

undefined

JavaScript

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 17, 2023, 2:38 a.m. This repo has been linked 1 different CVEs too.

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

Updated: 5 months, 3 weeks ago
182 stars 0 fork 0 watcher
Born at : July 30, 2023, 4:46 p.m. This repo has been linked 265 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-6: Argument Injection Argument Injection CAPEC-15: Command Delimiters Command Delimiters CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-73: User-Controlled Filename User-Controlled Filename CAPEC-85: AJAX Footprinting AJAX Footprinting CAPEC-120: Double Encoding Double Encoding CAPEC-182: Flash Injection Flash Injection CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-6: Argument Injection Argument Injection CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-15: Command Delimiters Command Delimiters CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-41: Using Meta-characters in E-mail Headers to Inject Malicious Payloads Using Meta-characters in E-mail Headers to Inject Malicious Payloads CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-44: Overflow Binary Resource File Overflow Binary Resource File CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-67: String Format Overflow in syslog() String Format Overflow in syslog() CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-73: User-Controlled Filename User-Controlled Filename CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic Using UTF-8 Encoding to Bypass Validation Logic CAPEC-88: OS Command Injection OS Command Injection CAPEC-92: Forced Integer Overflow Forced Integer Overflow CAPEC-120: Double Encoding Double Encoding CAPEC-182: Flash Injection Flash Injection CAPEC-267: Leverage Alternate Encoding Leverage Alternate Encoding
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability