{"id":"CVE-2024-54152","published":"2024-12-10T15:37:51Z","modified":"2024-12-10T16:34:57Z","title":"Angular Expressions - Remote Code Execution when using locals","vendor":"peerigon","product":"angular-expressions","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02242,"percentile":0.83272,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/peerigon/angular-expressions/security/advisories/GHSA-5462-4vcx-jh7j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/peerigon/angular-expressions/commit/97f7ad94006156eeb97fc942332578b6cfbf8eef","tags":["x_refsource_MISC"]}],"priority":{"score":28.2,"factors":[{"name":"EPSS percentile","points":16.65},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-12-30","earliestUrl":"https://github.com/math-x-io/CVE-2024-54152","repos":[{"name":"math-x-io/CVE-2024-54152","url":"https://github.com/math-x-io/CVE-2024-54152","stars":12,"created":"2024-12-30"}]},"first":{"date":"2024-12-30","source":"PoC-in-GitHub","url":"https://github.com/math-x-io/CVE-2024-54152"},"provenance":"source"},"vendorSlug":"peerigon","affectedVersions":[{"vendor":"peerigon","product":"angular-expressions","versions":["< 1.4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-12-10T16:34:41.751169Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"angular-expressions","vulnerableRanges":["<1.4.3"],"patched":["1.4.3"],"from":["GHSA-5462-4vcx-jh7j"],"provenance":"source"}],"summary":{"text":"The angular-expressions module from peerigon, a standalone expression library for the Angular.JS framework, contains a flaw in versions before 1.4.3 that lets crafted expressions escape its sandbox and run arbitrary code. An attacker reaches it over the network with no privileges or user interaction required, by supplying a malicious expression to the affected component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:58Z"},"euvd":{"id":"EUVD-2024-3429","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-peerigon-angular-expressions-cve-2020-5219","parents":[{"from":"CVE-2021-21277","to":"CVE-2024-54152","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/parse.js"],"commits":["https://github.com/peerigon/angular-expressions/commit/07edb62902b1f6127b3dcc013da61c6316dd0bf1","https://github.com/peerigon/angular-expressions/commit/97f7ad94006156eeb97fc942332578b6cfbf8eef"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2020-5219","published":"2020-01-24","fixed":"1.0.1","kev":false},{"cve":"CVE-2021-21277","published":"2021-02-01","fixed":"1.1.2","kev":false},{"cve":"CVE-2024-54152","published":"2024-12-10","fixed":"1.4.3","kev":false},{"cve":"CVE-2026-44643","published":"2026-05-11","fixed":"1.5.2","kev":false,"link":{"from":"CVE-2024-54152","to":"CVE-2026-44643","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:angular-expressions","fromFixed":"1.4.3","toFixed":"1.5.2","daysApart":517}]}}],"package":"npm:angular-expressions"}}