{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.0.36"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.2.13"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "67e3d7b3402c5d3d036ab7c1e781f86910d6ca72"
            },
            {
              "introduced": "d41a37605adc16b3eb17f806ce0259a8b316e603"
            },
            {
              "fixed": "030bd25ed90bcd5b790b58cabe6628e48cf0026c"
            },
            {
              "fixed": "2b1d04c867995e55124e0a165b7c6622c1735956"
            }
          ],
          "repo": "https://github.com/postcss/postcss",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \\/\\*\\s* sourceMappingURL=(.*).",
  "id": "CVE-2021-23382",
  "modified": "2026-03-14T13:46:48.254630603Z",
  "published": "2021-04-26T16:15:07.330Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956"
    },
    {
      "type": "FIX",
      "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641"
    },
    {
      "type": "FIX",
      "url": "https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640"
    }
  ],
  "related": [
    "SNYK-JAVA-ORGWEBJARSNPM-1255641",
    "SNYK-JS-POSTCSS-1255640"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}