UBUNTU-CVE-2023-45133

Source
https://ubuntu.com/security/CVE-2023-45133
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45133.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-45133
Related
Published
2023-10-12T17:15:00Z
Modified
2024-10-15T14:11:47Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-babel

Package

Name
node-babel
Purl
pkg:deb/ubuntu/node-babel?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.26.0+dfsg-3build5
6.26.0+dfsg-3build6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-babel

Package

Name
node-babel
Purl
pkg:deb/ubuntu/node-babel?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.26.0+dfsg-3build6
6.26.0+repack-2
6.26.0+repack-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-babel7

Package

Name
node-babel7
Purl
pkg:deb/ubuntu/node-babel7?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*

7.12.12+~cs150.141.84-6
7.12.12+~cs150.141.84-7
7.12.12+~cs150.141.84-8

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-babel7

Package

Name
node-babel7
Purl
pkg:deb/ubuntu/node-babel7?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.20.15+ds1+~cs214.269.168-6build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1",
            "binary_name": "node-babel7"
        },
        {
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1",
            "binary_name": "node-babel7-debug"
        },
        {
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1",
            "binary_name": "node-babel7-runtime"
        },
        {
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1",
            "binary_name": "node-babel7-standalone"
        }
    ]
}

Ubuntu:24.04:LTS / node-babel7

Package

Name
node-babel7
Purl
pkg:deb/ubuntu/node-babel7?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*

7.20.15+ds1+~cs214.269.168-4
7.20.15+ds1+~cs214.269.168-5
7.20.15+ds1+~cs214.269.168-6
7.20.15+ds1+~cs214.269.168-6build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}