NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ncalc | ncalc | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Ncalc | Ncalc |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3w5p-95mh-gq75 | NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.292% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ncalc
Ncalc ncalc |
|
| Vendors & Products |
Ncalc
Ncalc ncalc |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | NCalc is a fast, lightweight expression evaluator for .NET. Prior to 6.1.1, the factorial operator implementation in src/NCalc.Core/Helpers/MathHelper.cs permits specially crafted expressions with extremely large factorial operands, causing excessive CPU consumption or a non-terminating loop due to integer overflow in the factorial calculation logic when applications evaluate untrusted expressions. This issue is fixed in version 6.1.1. | |
| Title | NCalc: Denial of Service via Unbounded and Non-Terminating Factorial Evaluation | |
| Weaknesses | CWE-190 CWE-770 |
|
| References |
| |
| Metrics |
cvssV3_1
|