Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23368

The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23368
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:40 UTC · Revision 1

Source evidence

CVE-2021-23368

core-osv · Original source

Published 12 Apr 2021, 14:15 UTC

The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.

osv:CVE-2021-23368
Complete source record
{
  "id": "8af8f2e31b6ec56ddf5ac9bba5b013ae350109e6289d3d4f7fa7368b360215ef",
  "url": "https://osv.dev/vulnerability/CVE-2021-23368",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23368",
    "summary": "The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.",
    "evidence": "osv:CVE-2021-23368",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-23368",
      "aliases": [
        "CVE-2021-23368",
        "GHSA-hwj9-h5mp-3pm3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/postcss/postcss",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d1c53a2b5dcb6b48f11889fafb94fe022306783b"
                },
                {
                  "fixed": "67e3d7b3402c5d3d036ab7c1e781f86910d6ca72"
                },
                {
                  "introduced": "d41a37605adc16b3eb17f806ce0259a8b316e603"
                },
                {
                  "fixed": "8395d9f53efbaae5f3372b6b662a9e9b5b02360b"
                },
                {
                  "fixed": "8682b1e4e328432ba692bed52326e84439cec9e4"
                },
                {
                  "fixed": "b6f3e4d5a8d7504d553267f80384373af3a3dec5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.36"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.2.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8682b1e4e328432ba692bed52326e84439cec9e4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b6f3e4d5a8d7504d553267f80384373af3a3dec5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.35",
            "8.2.9",
            "8.2.8",
            "8.2.7",
            "8.2.6",
            "8.2.5",
            "8.2.4",
            "8.2.3",
            "8.2.2",
            "8.2.1",
            "8.2.0",
            "8.1.14",
            "8.1.13",
            "8.1.12",
            "8.1.11",
            "8.1.10",
            "8.1.9",
            "8.1.8",
            "8.1.7",
            "8.1.6",
            "8.1.5",
            "8.1.4",
            "8.1.3",
            "8.1.2",
            "8.1.1",
            "7.0.34",
            "8.1.0",
            "8.0.9",
            "8.0.8",
            "8.0.7",
            "8.0.6",
            "8.0.5",
            "8.0.4",
            "7.0.33",
            "7.0.32",
            "8.0.3",
            "8.0.2",
            "8.0.1",
            "8.0.0",
            "7.0.31",
            "7.0.30",
            "7.0.29",
            "7.0.28",
            "7.0.27",
            "7.0.26",
            "7.0.25",
            "7.0.24",
            "7.0.23",
            "7.0.22",
            "7.0.21",
            "7.0.20",
            "7.0.19",
            "7.0.18",
            "7.0.17",
            "7.0.16",
            "7.0.15",
            "7.0.14",
            "7.0.13",
            "7.0.12",
            "7.0.11",
            "7.0.10",
            "7.0.9",
            "7.0.8",
            "7.0.7",
            "7.0.6",
            "7.0.5",
            "7.0.4",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "7.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23368.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:31.938273593Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r00158f5d770d75d0655c5eef1bdbc6150531606c8f8bcb778f0627be%40%3Cdev.myfaces.apache.org%3E",
        "https://lists.apache.org/thread.html/r16e295b4f02d81b79981237d602cb0b9e59709bafaa73ac98be7cef1%40%3Cdev.myfaces.apache.org%3E",
        "https://lists.apache.org/thread.html/r49afb49b38748897211b1f89c3a64dc27f9049474322b05715695aab%40%3Cdev.myfaces.apache.org%3E",
        "https://lists.apache.org/thread.html/r5acd89f3827ad9a9cad6d24ed93e377f7114867cd98cfba616c6e013%40%3Ccommits.myfaces.apache.org%3E",
        "https://lists.apache.org/thread.html/r8def971a66cf3e375178fbee752e1b04a812a047cc478ad292007e33%40%3Cdev.myfaces.apache.org%3E",
        "https://lists.apache.org/thread.html/rad5af2044afb51668b1008b389ac815a28ecea9eb75ae2cab5a00ebb%40%3Ccommits.myfaces.apache.org%3E",
        "https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4",
        "https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1244795",
        "https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-23368",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385493,
  "published_at": "2021-04-12T14:15:14.257+00:00"
}