CVE-2023-45133

CVSS 3.1 Score 8.8 of 10 (high)

Details

Published Oct 12, 2023
Updated: Oct 24, 2023
CWE ID 697
CWE ID 184

Summary

CVE-2023-45133 is a vulnerability affecting Babel, a JavaScript compiler. In specific versions of `@babel/traverse` and certain plugins that rely on `path.evaluate()` or `path.evaluateTruthy()`, an attacker can inject arbitrary code during compilation. Affected plugins include `@babel/plugin-transform-runtime`, `@babel/preset-env`, and any "polyfill provider" plugin that depends on `@babel/helper-define-polyfill-provider`. No other plugins under the `@babel/` namespace are impacted, but third-party plugins may also be affected. Users who compile trusted code are not at risk. The issue has been resolved in `@babel/traverse` versions 7.23.2 and 8.0.0-alpha.4. Users unable to upgrade should ensure their affected plugins are updated to their latest 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, and `babel-plugin-polyfill-regenerator` v0.5.3.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share