GHSA-ph3v-2hq5-5qfq
Dashboard / Vulnerabilities / GHSA-ph3v-2hq5-5qfq
Summary: Code injection in RazorEngine
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-46703, https://github.com/Antaris/RazorEngine/issues/585, https://github.com/Antaris/RazorEngine
Affected packages
Package
Name: RazorEngine
Purl: pkg:nuget/RazorEngine
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -None
Affected versions
2.1.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
