Vulnerability · Published Mar 6, 2022 · Assigned by mitre
CVE-2021-46703
Critical 9.8
In plain English
A critical-severity security flaw in the razorengine package (NuGet). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.9%top 20.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
In the IsolatedRazorEngine component of Antaris RazorEngine through 4.5.1-alpha001, an attacker can execute arbitrary .NET code in a sandboxed environment (if users can externally control template contents). NOTE: This vulnerability only affects products that are no longer supported by the maintainer
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | razorengine | no fix listed | GHSA-ph3v-2hq5-5qfq |
Affected products (as reported)
References
- https://github.com/Antaris/RazorEngine/issues/585 x_refsource_MISC