cve.bz

CVE-2023-45133 Incorrect Comparison

8.8 highEPSS 0.5%Fix available

High (8.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in @babel/traverse 7.23.2, 8.0.0-alpha.4.

On this page
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 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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-09-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-697 Incorrect Comparison
CWE-184 Incomplete List of Disallowed Inputs
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-45133 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45133?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45133?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-45133 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux10.0
debian:debian_linux11.0
debian:debian_linux12.0
babeljs:babelbefore 7.23.2
babeljs:babel8.0.0:alpha.0
babeljs:babel8.0.0:alpha.1
babeljs:babel8.0.0:alpha.2
babeljs:babel8.0.0:alpha.3
babeljs:babel-helper-define-polyfill-providerbefore 0.4.3
babeljs:babel-plugin-polyfill-corejs2before 0.4.6
babeljs:babel-plugin-polyfill-corejs3before 0.8.5
babeljs:babel-plugin-polyfill-es-shimsbefore 0.10.0
babeljs:babel-plugin-polyfill-regeneratorbefore 0.5.3
babeljs:babel-plugin-transform-runtimebefore 7.23.2
babeljs:babel-preset-envbefore 7.23.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-67hx-6x53-jw92npm@babel/traverse<7.23.27.23.2
GHSA-67hx-6x53-jw92npm@babel/traverse>=8.0.0-alpha.0 <8.0.0-alpha.48.0.0-alpha.4
GHSA-67hx-6x53-jw92npmbabel-traverseall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10node-babel6.26.0+dfsg-3+deb10u1DLA-3618-1
Debian11node-babel77.12.12+~cs150.141.84-6+deb11u1DSA-5528-1
Debian12node-babel77.20.15+ds1+~cs214.269.168-3+deb12u1DEBIAN-CVE-2023-45133 DSA-5528-1
Debian13, 14node-babel77.20.15+ds1+~cs214.269.168-5DEBIAN-CVE-2023-45133
Ubuntu22.04:LTS, 24.04:LTSnode-babel7no fix listedUBUNTU-CVE-2023-45133
UbuntuPro:18.04:LTSnode-babel6.26.0+dfsg-3ubuntu0.1~esm1UBUNTU-CVE-2023-45133 USN-9054-1
UbuntuPro:20.04:LTSnode-babel6.26.0+repack-3ubuntu0.1~esm1UBUNTU-CVE-2023-45133 USN-9054-1
openSUSETumbleweedteleport14.1.1-1.1openSUSE-SU-2024:13360-1
openSUSETumbleweedvelociraptor0.7.0.4.git142.862ef23-1.1openSUSE-SU-2025:14663-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Satellite does not directly use any affected components, but some of the packages it ships with contain them in the form of a dependency. However, the chances of exploitation are low because the build environment for Satellite is restricted, with limited opportunity for injecting untrusted code. Therefore, the impact is reduced to Moderate for Satellite.

The Babel project with this security vulnerability is some Javascript compiler but the babel component in Red Hat Enterprise Linux contains a collection of tools written in Python for internalization of Python applications and contains no JS/TS files. So RHEL is not affected by this vulnerability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Red Hat Enterprise Linux 8babelNot affected
Red Hat Enterprise Linux 9babelNot affected
Red Hat Single Sign-On 7babelNot affected
Red Hat Storage 3babelWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-45133.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-317-15Siemens COMOS2025-11-11Critical ManufacturingCOMOSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-182 Flash Injection Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON