#VU83234 Incorrect Comparison in babel


Published: 2023-11-17

Vulnerability identifier: #VU83234

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-45133

CWE-ID: CWE-697

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
babel
Universal components / Libraries / Programming Languages & Components

Vendor: Babel

Description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists in '@babel/traverse' and `babel-traverse`. A local user can execute arbitrary code during compilation, when using plugins that rely on the `path.evaluate()`or `path.evaluateTruthy()` internal Babel methods.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

babel: 7.23.0 - 8.0.0 alpha.3


External links
http://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92
http://github.com/babel/babel/pull/16033
http://github.com/babel/babel/releases/tag/v8.0.0-alpha.4
http://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82
http://github.com/babel/babel/releases/tag/v7.23.2
http://www.debian.org/security/2023/dsa-5528
http://lists.debian.org/debian-lts-announce/2023/10/msg00026.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability