Skip to content
Heist/ feed
Back to feed
HighFix available

node-css-what — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-33587

The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.

Products
node-css-what
Affected versions
2.0.2-1, 2.1.0-1, 3.1.0-2, 3.2.0-1, 3.2.1-1, 6.1.0-5, 6.2.2-2, 6.2.2-3
Fixed versions
2.1.0-1+deb10u1build0.18.04.1, 2.1.0-1ubuntu0.16.04.1~esm1, 3.2.1-1ubuntu0.1~esm1
CVEs
CVE-2021-33587
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:59 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-33587

core-osv · Original source

Published 28 May 2021, 20:15 UTC

The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.

osv:UBUNTU-CVE-2021-33587

node-css-what

Fixed versions: 2.1.0-1ubuntu0.16.04.1~esm1

node-css-what

Fixed versions: 2.1.0-1+deb10u1build0.18.04.1

node-css-what

Fixed versions: 3.2.1-1ubuntu0.1~esm1

node-css-what

Fixed versions: Not specified

node-css-what

Fixed versions: Not specified

node-css-what

Fixed versions: Not specified

node-css-what

Fixed versions: Not specified

Complete source record
{
  "id": "0a7ae35164272698b5234b3b6b53f8d60c6b9d5eda7c3cdb0e800f0218ae83af",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33587",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-33587",
    "summary": "The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.",
    "evidence": "osv:UBUNTU-CVE-2021-33587",
    "products": [
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.1.0-1ubuntu0.16.04.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.0.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.1.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.1.0-1+deb10u1build0.18.04.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.1.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.2.1-1ubuntu0.1~esm1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.1.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.2.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.2.1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.1.0-5",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.1.0-5",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.1.0-5",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "6.2.2-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "6.2.2-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-css-what",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.1.0-5",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2021-33587",
      "aliases": [
        "UBUNTU-CVE-2021-33587"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.0-1ubuntu0.16.04.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "2.0.2-1",
            "2.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "2.1.0-1ubuntu0.16.04.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.0-1+deb10u1build0.18.04.1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "2.1.0-1+deb10u1build0.18.04.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.2.1-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "3.1.0-2",
            "3.2.0-1",
            "3.2.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "3.2.1-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "6.1.0-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "6.1.0-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "6.1.0-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "6.1.0-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "6.1.0-5",
            "6.2.2-2",
            "6.2.2-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "6.2.2-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-css-what",
            "purl": "pkg:deb/ubuntu/node-css-what?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "6.1.0-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33587.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-css-what",
                "binary_version": "6.1.0-5"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:19.726464477Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-33587"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-33587",
        "https://github.com/fb55/css-what/releases/tag/v5.0.1",
        "https://ubuntu.com/security/notices/USN-6065-1",
        "https://www.cve.org/CVERecord?id=CVE-2021-33587"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-33587",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355287,
  "published_at": "2021-05-28T20:15:00+00:00"
}