Quick answers
- Is CVE-2021-21277 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-21277 being exploited in the wild.
- How severe is CVE-2021-21277?
- Low severity, with a CVSS score of 3.1, published 1 February 2021.
- Which products and versions are affected?
- Peerigon Angular-Expressions before 1.1.2.
- Is there a fix for CVE-2021-21277?
- A patch was published on 2021-02-01: version 1.1.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-21277 attacked?
- It is attacked over the network.
- Am I affected by CVE-2021-21277?
- Check whether you run Peerigon Angular-Expressions at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is a code injection flaw (CWE-74/CWE-94) in angular-expressions that allows Remote Code Execution when user-controlled input is passed to the expressions.compile() function. The sandbox escape uses a .constructor.constructor technique to bypass the expression filter. Attack requires network access and application code that directly compiles user input without sanitization; no authentication is required if the vulnerable code path is exposed. An attacker can execute arbitrary JavaScript code in the browser context or on the server depending on deployment. The fix is available in version 1.1.2 and later.
Affected products
- peerigon angular-expressions before 1.1.2
Identifiers
- CVE-2021-21277
- GHSA-j6px-jwvv-vpwq
Timeline
- 2021-02-01: disclosed
- 2021-02-01: patched: version 1.1.2