Vulnerabilities in pkg:nuget/EnumStringValues

PACKAGE
Advisory Identifier: GHSA-vq23-hwg7-hxrh
Advisory Summary

CVE-2020-36620 is a LOW (CVSS 3.5) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting EnumStringValues libraries in the NuGet ecosystem. The issue involves enumstringvalues vulnerable to uncontrolled resource consumption. Remediation is available by upgrading affected packages to version 4.0.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/EnumStringValues

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/EnumStringValues. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vq23-hwg7-hxrh CVE-2020-36620 LOW EnumStringValues vulnerable to Uncontrolled Resource Consumption

CVE-2020-36620 at a Glance

CVE Identifier CVE-2020-36620
GHSA Identifier GHSA-vq23-hwg7-hxrh
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product EnumStringValues
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 3.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2020-36620

To remediate this vulnerability, upgrade all affected EnumStringValues dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

EnumStringValues fixed: 4.0.2
Upgrade EnumStringValues to 4.0.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for EnumStringValues

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-36620, inspect your project dependencies for EnumStringValues:

inspect dependencies for EnumStringValues

Analyze the terminal output to locate any version of EnumStringValues in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In EnumStringValues, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in Brondahl EnumStringValues 4.0.1. It has been declared as problematic. This vulnerability affects the function GetStringValuesWithPreferences_Uncache of the file EnumStringValues/EnumExtensions.cs. The manipulation leads to resource consumption. Upgrading to version 4.0.2 to address this issue. The name of the patch is c0fc7806beb24883cc2f9543ebc50c0820297307. It is recommended to upgrade the affected component. VDB-216466 is the identifier assigned to this vulnerability.

CVE-2020-36620 Affected EnumStringValues Versions

1 component(s)
Fixed Versions:
4.0.2
Product / Package Ecosystem Affected Versions Fixed Version
EnumStringValues
NuGet
< 4.0.2
4.0.2

References

Frequently Asked Questions

What is CVE-2020-36620?
CVE-2020-36620 is a security vulnerability in EnumStringValues involving EnumStringValues vulnerable to Uncontrolled Resource Consumption under CWE-400: Uncontrolled Resource Consumption.
Which EnumStringValues versions are affected?
Affected versions include releases prior to 4.0.2 across affected packages: EnumStringValues.
What version fixes CVE-2020-36620?
Upgrading to 4.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is EnumStringValues affected?
Yes, EnumStringValues is affected in releases prior to 4.0.2. Upgrade your dependency to 4.0.2 or later.
What is the CVSS score of CVE-2020-36620?
CVE-2020-36620 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2020-36620?
CVE-2020-36620 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check NuGet dependencies for CVE-2020-36620?
Run the dependency tree command: 'inspect dependencies for EnumStringValues'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vq23-hwg7-hxrh",
  "modified" : "2022-12-29T01:06:02Z",
  "published" : "2022-12-21T21:30:15Z",
  "aliases" : [ "CVE-2020-36620" ],
  "summary" : "EnumStringValues vulnerable to Uncontrolled Resource Consumption",
  "details" : "A vulnerability was found in Brondahl EnumStringValues 4.0.1. It has been declared as problematic. This vulnerability affects the function GetStringValuesWithPreferences_Uncache of the file EnumStringValues/EnumExtensions.cs. The manipulation leads to resource consumption. Upgrading to version 4.0.2 to address this issue. The name of the patch is c0fc7806beb24883cc2f9543ebc50c0820297307. It is recommended to upgrade the affected component. VDB-216466 is the identifier assigned to this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "EnumStringValues"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36620"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Brondahl/EnumStringValues/commit/c0fc7806beb24883cc2f9543ebc50c0820297307"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Brondahl/EnumStringValues"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Brondahl/EnumStringValues/releases/tag/4.0.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Brondahl/EnumStringValues/releases/tag/4.0.2"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.216466"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-404" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-12-22T03:35:03Z",
    "nvd_published_at" : "2022-12-21T19:15:00Z"
  }
}