CVE-2020-5219
Peerigon Angular-expressions vulnerability
Angular Expressions before version 1.0.1 has a remote code execution vulnerability if you call expressions.compile(userControlledInput) where userControlledInput is text that comes from user input. If running angular-expressions in the browser, an attacker could run any browser script when the application code calls expressions.compile(userControlledInput). If running angular-expressions on the server, an attacker could run any Javascript expression, thus gaining Remote Code Execution.
Affected products
Angular-expressions. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Peerigon Angular-expressions runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- blog.angularjs.org/2016/09/angular-16-expression-sandbox-removal.html · Vendor Advisory
- github.com/peerigon/angular-expressions/commit/061addfb9a9e932a970e5fcb913d020038e65667 · Patch
- github.com/peerigon/angular-expressions/security/advisories/GHSA-hxhm-96pp-2m43 · Mitigation
- nvd.nist.gov/vuln/detail/CVE-2020-5219
- cve.org/CVERecord?id=CVE-2020-5219
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.