CVE-2020-36620: EnumStringValues Uncontrolled Resource Consumption
Summary
CVE-2020-36620: EnumStringValues vulnerable to Uncontrolled Resource Consumption. Affects EnumStringValues versions < 4.0.2. Fixed in 4.0.2. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The EnumStringValues package is a NuGet package that provides a utility for working with enums in C#. It offers methods to retrieve string values associated with enum values. This vulnerability affects version 4.0.1 of the package. The vulnerable function, GetStringValuesWithPreferences_Uncache, is located in the file EnumStringValues/EnumExtensions.cs. The vulnerability allows for uncontrolled resource consumption.
Vulnerability Detail
The vulnerability in EnumStringValues version 4.0.1 arises from a lack of proper resource management in the GetStringValuesWithPreferences_Uncache function. An attacker can exploit this vulnerability to consume excessive resources, potentially leading to denial of service or performance degradation. The vulnerability has been assigned the identifier CVE-2020-36620 and has a CVSS score of 3.5 (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).
How To Fix
Latest published version: 4.0.2 as of 22 Oct 2026
The newest release already contains this fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. It is recommended to upgrade to the fixed version as mentioned in the 'how_to_fix' section.
Conclusion
The EnumStringValues package version 4.0.1 is vulnerable to uncontrolled resource consumption. To mitigate this vulnerability, it is crucial to upgrade to version 4.0.2. For further assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for EnumStringValues →
FAQ
EnumStringValues is a NuGet package that provides utility methods for working with enums in C#. It allows for retrieving string values associated with enum values.
This vulnerability can lead to uncontrolled resource consumption, potentially resulting in denial of service or performance degradation.
To fix this vulnerability, you should upgrade to version 4.0.2 of the EnumStringValues package.
No specific workaround is provided for this vulnerability. Upgrading to the fixed version is the recommended solution.
The CVSS score of this vulnerability is 3.5 (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).