gsd-2023-45133
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
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.
Aliases
Aliases
{ GSD: { alias: "CVE-2023-45133", id: "GSD-2023-45133", }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2023-45133", ], details: "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.", id: "GSD-2023-45133", modified: "2023-12-13T01:20:38.398768Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2023-45133", STATE: "PUBLIC", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "babel", version: { version_data: [ { version_affected: "=", version_value: "< 7.23.2", }, { version_affected: "=", version_value: ">= 8.0.0-alpha.0, < 8.0.0-alpha.4", }, ], }, }, ], }, vendor_name: "babel", }, ], }, }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", value: "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.", }, ], }, impact: { cvss: [ { attackComplexity: "LOW", attackVector: "LOCAL", availabilityImpact: "HIGH", baseScore: 9.4, baseSeverity: "CRITICAL", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "NONE", scope: "CHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", version: "3.1", }, ], }, problemtype: { problemtype_data: [ { description: [ { cweId: "CWE-184", lang: "eng", value: "CWE-184: Incomplete List of Disallowed Inputs", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92", refsource: "MISC", url: "https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92", }, { name: "https://github.com/babel/babel/pull/16033", refsource: "MISC", url: "https://github.com/babel/babel/pull/16033", }, { name: "https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82", refsource: "MISC", url: "https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82", }, { name: "https://github.com/babel/babel/releases/tag/v7.23.2", refsource: "MISC", url: "https://github.com/babel/babel/releases/tag/v7.23.2", }, { name: "https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4", refsource: "MISC", url: "https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4", }, { name: "https://www.debian.org/security/2023/dsa-5528", refsource: "MISC", url: "https://www.debian.org/security/2023/dsa-5528", }, { name: "https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html", refsource: "MISC", url: "https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html", }, ], }, source: { advisory: "GHSA-67hx-6x53-jw92", discovery: "UNKNOWN", }, }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*", cpe_name: [], vulnerable: true, }, { cpe23Uri: "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*", cpe_name: [], vulnerable: true, }, { cpe23Uri: "cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*", cpe_name: [], vulnerable: true, }, ], operator: "OR", }, { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:babeljs:babel:8.0.0:alpha.1:*:*:*:nodejs:*:*", cpe_name: [], vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel:8.0.0:alpha.2:*:*:*:nodejs:*:*", cpe_name: [], vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel:8.0.0:alpha.3:*:*:*:nodejs:*:*", cpe_name: [], vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel:8.0.0:alpha.0:*:*:*:nodejs:*:*", cpe_name: [], vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "7.23.2", vulnerable: true, }, ], operator: "OR", }, { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:babeljs:babel-plugin-polyfill-regenerator:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "0.5.3", vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel-plugin-polyfill-es-shims:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "0.10.0", vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs3:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "0.8.5", vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel-plugin-polyfill-corejs2:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "0.4.6", vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel-helper-define-polyfill-provider:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "0.4.3", vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel-preset-env:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "7.23.2", vulnerable: true, }, { cpe23Uri: "cpe:2.3:a:babeljs:babel-plugin-transform-runtime:*:*:*:*:*:nodejs:*:*", cpe_name: [], versionEndExcluding: "7.23.2", vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2023-45133", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "en", value: "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.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-697", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92", refsource: "MISC", tags: [ "Third Party Advisory", ], url: "https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92", }, { name: "https://github.com/babel/babel/pull/16033", refsource: "MISC", tags: [ "Issue Tracking", ], url: "https://github.com/babel/babel/pull/16033", }, { name: "https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4", refsource: "MISC", tags: [ "Patch", ], url: "https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4", }, { name: "https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82", refsource: "MISC", tags: [ "Patch", ], url: "https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82", }, { name: "https://github.com/babel/babel/releases/tag/v7.23.2", refsource: "MISC", tags: [ "Patch", ], url: "https://github.com/babel/babel/releases/tag/v7.23.2", }, { name: "https://www.debian.org/security/2023/dsa-5528", refsource: "MISC", tags: [ "Issue Tracking", ], url: "https://www.debian.org/security/2023/dsa-5528", }, { name: "https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html", refsource: "MISC", tags: [ "Mailing List", "Third Party Advisory", ], url: "https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html", }, ], }, }, impact: { baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "LOCAL", availabilityImpact: "HIGH", baseScore: 8.8, baseSeverity: "HIGH", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "LOW", scope: "CHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", version: "3.1", }, exploitabilityScore: 2, impactScore: 6, }, }, lastModifiedDate: "2023-10-24T16:52Z", publishedDate: "2023-10-12T17:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.