CVE-2024-54152
Published: 10 December 2024
Summary
CVE-2024-54152 is a critical-severity Code Injection (CWE-94) vulnerability. Its CVSS base score is 9.3 (Critical).
Operationally, ranked in the top 3.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Angular Expressions is a standalone module that supplies expression evaluation capabilities for the AngularJS web framework. Prior to version 1.4.3, the library is vulnerable to sandbox escape via specially crafted expressions, allowing generation of arbitrary code. The issue is tracked as CWE-94 and carries a CVSS 4.0 score of 9.3.
An unauthenticated attacker who can supply or influence an expression processed by the library can escape the intended sandbox. With a basic malicious expression the attacker obtains arbitrary code execution; a more complex payload grants full system-level access.
The project security advisory and the patch commit at version 1.4.3 state that the vulnerability is fixed in that release. Two workarounds are documented: globally disabling access to __proto__ or ensuring the expression function is always invoked with exactly one argument. The associated EPSS score has remained flat at 0.3031 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-3429
Vulnerability details
Angular Expressions provides expressions for the Angular.JS web framework as a standalone module. Prior to version 1.4.3, an attacker can write a malicious expression that escapes the sandbox to execute arbitrary code on the system. With a more complex (undisclosed)…
more
payload, one can get full access to Arbitrary code execution on the system. The problem has been patched in version 1.4.3 of Angular Expressions. Two possible workarounds are available. One may either disable access to `__proto__` globally or make sure that one uses the function with just one argument.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.