CVE-2023-45133
published critical CVSS 3.1 · 9.4Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| babel | — | babel< 7.23.2 · >= 8.0.0-alpha.0, < 8.0.0-alpha.4 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | node-babel7 | Advisory build | 7.20.15+ds1+~cs214.269.168-3+deb12u1 | DSA-5528-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleportaarch64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| Ubuntu | bionic | node-babel | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Debian | bullseye | node-babel7 | Advisory build | 7.12.12+~cs150.141.84-6+deb11u1 | DSA-5528-1 |
| Debian | buster | node-babel | Advisory build | 6.26.0+dfsg-3+deb10u1 | DLA-3618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleportppc64le | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | teleports390x | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleportx86_64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbotaarch64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbotppc64le | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbots390x | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbotx86_64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctlaarch64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctlppc64le | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctls390x | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctlx86_64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshaarch64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshppc64le | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshs390x | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshx86_64 | Advisory build | 14.1.1-1.1 | OPENSUSE-SU-2024:13360-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| Ubuntu | bionic | node-babel-cli | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-code-frame | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-core | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-generator | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-bindify-decorators | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-builder-binary-assignment-operator-visitor | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-builder-react-jsx | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-call-delegate | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-define-map | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-explode-assignable-expression | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-explode-class | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-function-name | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-get-function-arity | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-hoist-variables | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-optimise-call-expression | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-regex | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-remap-async-to-generator | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helper-replace-supers | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-helpers | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-messages | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-external-helpers | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-async-functions | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-async-generators | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-class-constructor-call | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-class-properties | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-decorators | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-do-expressions | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-dynamic-import | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-exponentiation-operator | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-export-extensions | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-flow | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-function-bind | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-jsx | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-object-rest-spread | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-syntax-trailing-function-commas | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-async-generator-functions | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-async-to-generator | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-class-constructor-call | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-class-properties | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-decorators | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-do-expressions | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-es3-member-expression-literals | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-es3-property-literals | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-exponentiation-operator | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-export-extensions | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-flow-strip-types | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-function-bind | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-jscript | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-object-rest-spread | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-proto-to-assign | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-react-display-name | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-react-jsx | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-react-jsx-self | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-react-jsx-source | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-regenerator | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-runtime | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-plugin-transform-strict-mode | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-polyfill | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-es2015 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-es2016 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-es2017 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-flow | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-latest | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-react | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-stage-0 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-stage-1 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-stage-2 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-preset-stage-3 | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-register | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-runtime | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-template | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-traverse | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | bionic | node-babel-types | Advisory build | 6.26.0+dfsg-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | focal | node-babel | Advisory build | 6.26.0+repack-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | focal | node-babel-cli | Advisory build | 6.26.0+repack-3ubuntu0.1~esm1 | USN-9054-1 |
| Ubuntu | focal | node-babel-code-frame | Advisory build | 6.26.0+repack-3ubuntu0.1~esm1 | USN-9054-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| babel | babel | < 7.23.2 (affected)>= 8.0.0-alpha.0, < 8.0.0-alpha.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-184 CWE-184: Incomplete List of Disallowed Inputs
References
7- https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82
- https://github.com/babel/babel/pull/16033
- https://github.com/babel/babel/releases/tag/v7.23.2
- https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4
- https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92
- https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html
- https://www.debian.org/security/2023/dsa-5528
Provider assertions
3GitHub_M · cna
Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- be46086edc1120e7d4af32f7b008eee61189df1287d2b34a341a73100a8a446c
- Ingested
- 23 Sep 2026, 08:12:20 UTC
- Source record
- Official CVE record