{
  "schema_version": "1.4.0",
  "id": "GHSA-w8h4-vw8f-rvvj",
  "modified": "2023-09-12T19:22:22Z",
  "published": "2021-04-13T15:30:09Z",
  "aliases": [
    "CVE-2021-26276"
  ],
  "summary": "Improper Control of Dynamically-Managed Code Resources in config-shield",
  "details": "scripts/cli.js in the GoDaddy node-config-shield (aka Config Shield) package before 0.2.2 for Node.js calls eval when processing a set command. **NOTE:** the vendor reportedly states that this is not a vulnerability. The set command was not intended for use with untrusted data.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "config-shield"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.2.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-26276"
    },
    {
      "type": "WEB",
      "url": "https://github.com/godaddy/node-config-shield/commit/cdba5d3a7accd661ffbc52e208153464bd0d9da6"
    },
    {
      "type": "WEB",
      "url": "https://advisory.checkmarx.net/advisory/CX-2021-4773"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/godaddy/node-config-shield"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-913"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-05T22:44:52Z",
    "nvd_published_at": "2021-01-27T20:15:00Z"
  }
}