CVE-2020-5219 Remote Code Execution in Angular Expressions
HighCVSS 8.8
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm angular-expressions(npm) | < 1.0.1 | 1.0.1 | Fixed |
| peerigon angular-expressions | < 1.0.1; = < 1.0.1 | 1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm angular-expressions(npm) | < 1.0.1 | 1.0.1 |
| peerigon angular-expressions | < 1.0.1 | 1.0.1 |
| peerigon angular-expressions | = < 1.0.1 | No fix listed |
References
- github.com mitigation third-party-advisory vendor-advisory
- github.com patch
- blog.angularjs.org vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com