{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2022-21222",
        "tracking": {
            "current_release_date": "2026-10-01T15:51:27.423176Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2022-21222",
            "initial_release_date": "2023-07-03T08:54:18.751116Z",
            "revision_history": [
                {
                    "date": "2023-07-03T08:54:18.751116Z",
                    "number": "1",
                    "summary": "CVE created.| Source created.| EPSS created."
                },
                {
                    "date": "2023-08-08T13:05:05.448416Z",
                    "number": "2",
                    "summary": "Source created.| Description created for source.| CVSS created.| Unknown change.| Unknown change.| Products created (1).| Exploits created (1).| References created (3)."
                },
                {
                    "date": "2023-09-05T08:23:19.377378Z",
                    "number": "3",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2023-10-09T14:16:10.009721Z",
                    "number": "4",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2023-11-02T16:17:08.701885Z",
                    "number": "5",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2024-03-12T18:19:08.950691Z",
                    "number": "6",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2024-04-22T12:20:18.136484Z",
                    "number": "7",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2024-05-07T12:19:51.981231Z",
                    "number": "8",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2024-05-21T12:19:44.722109Z",
                    "number": "9",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2024-08-03T02:43:32.653865Z",
                    "number": "10",
                    "summary": "Source created.| Description created for source.| CVSS created.| Products created (1).| References updated (3)."
                },
                {
                    "date": "2024-10-19T01:06:40.212405Z",
                    "number": "11",
                    "summary": "Source connected.| EPSS created."
                },
                {
                    "date": "2024-12-05T21:22:19.075920Z",
                    "number": "12",
                    "summary": "Source created.| Description created for source."
                },
                {
                    "date": "2025-03-21T01:40:23.896893Z",
                    "number": "13",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2025-03-29T16:35:34.972806Z",
                    "number": "14",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2025-03-29T16:35:56.270692Z",
                    "number": "15",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-03-30T16:32:59.300434Z",
                    "number": "16",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2025-05-20T16:24:42.549715Z",
                    "number": "17",
                    "summary": "CVSS updated.| Products created (1).| Product Identifiers created (1).| Products removed (1).| CWES updated (1)."
                },
                {
                    "date": "2025-05-20T16:24:52.466733Z",
                    "number": "18",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-05-20T16:38:40.149809Z",
                    "number": "19",
                    "summary": "CWES updated (1)."
                },
                {
                    "date": "2025-05-20T16:38:40.603799Z",
                    "number": "20",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-05-20T17:17:49.323298Z",
                    "number": "21",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-05-21T08:18:46.879130Z",
                    "number": "22",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-09-23T19:39:06.599498Z",
                    "number": "23",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products created (13).| Product Identifiers created (1).| References created (4)."
                },
                {
                    "date": "2025-09-24T08:36:46.961115Z",
                    "number": "24",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-09-24T09:04:11.446572Z",
                    "number": "25",
                    "summary": "Products removed (3).| References removed (1)."
                },
                {
                    "date": "2025-09-24T09:04:17.700823Z",
                    "number": "26",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-10-02T16:42:51.405672Z",
                    "number": "27",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products created (1).| References created (6).| CWES updated (1)."
                },
                {
                    "date": "2025-10-02T16:42:52.462502Z",
                    "number": "28",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-11-18T17:23:40.859798Z",
                    "number": "29",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2025-11-18T17:23:42.704753Z",
                    "number": "30",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2025-11-21T19:01:12.802520Z",
                    "number": "31",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2025-11-21T19:01:17.582085Z",
                    "number": "32",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-01-15T04:40:33.023762Z",
                    "number": "33",
                    "summary": "Manual regenerated (CSAFs rebuild product/vendor naming update)."
                },
                {
                    "date": "2026-03-20T00:32:51.896550Z",
                    "number": "34",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-03-20T00:32:54.445025Z",
                    "number": "35",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-20T16:08:44.009864Z",
                    "number": "36",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (1).| Product Identifiers created (1).| Exploits created (1).| References created (3).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T16:08:45.976887Z",
                    "number": "37",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-04-14T14:04:06.046543Z",
                    "number": "38",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-05-01T16:59:17.948793Z",
                    "number": "39",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-05-01T16:59:20.643170Z",
                    "number": "40",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-12T19:41:10.783908Z",
                    "number": "41",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-06-12T19:41:12.615252Z",
                    "number": "42",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-15T18:26:31.625940Z",
                    "number": "43",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-06-15T18:26:34.130945Z",
                    "number": "44",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-09T03:01:27.534396Z",
                    "number": "45",
                    "summary": "CVSS updated.| References created (2)."
                },
                {
                    "date": "2026-07-09T03:01:33.566498Z",
                    "number": "46",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-07-23T01:32:28.855663Z",
                    "number": "47",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-07-23T01:32:30.643559Z",
                    "number": "48",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-08-16T15:24:59.430194Z",
                    "number": "49",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-08-16T15:25:06.775204Z",
                    "number": "50",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-01T23:01:08.627519Z",
                    "number": "51",
                    "summary": "Description removed for source.| Products removed (1)."
                },
                {
                    "date": "2026-09-01T23:01:09.777813Z",
                    "number": "52",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-02T02:04:08.074813Z",
                    "number": "53",
                    "summary": "Description created for source."
                },
                {
                    "date": "2026-09-02T12:06:26.513356Z",
                    "number": "54",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-02T19:26:25.016108Z",
                    "number": "55",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-03T16:05:23.122833Z",
                    "number": "56",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-03T20:27:22.931968Z",
                    "number": "57",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-04T17:14:25.342259Z",
                    "number": "58",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-05T00:15:34.442640Z",
                    "number": "59",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-05T17:07:30.083258Z",
                    "number": "60",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-06T17:09:57.423043Z",
                    "number": "61",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-07T17:14:55.432190Z",
                    "number": "62",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-08T00:03:48.626454Z",
                    "number": "63",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-09T09:36:19.375968Z",
                    "number": "64",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-09T17:40:32.592600Z",
                    "number": "65",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-10T02:05:23.065413Z",
                    "number": "66",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-27T15:15:19.789737Z",
                    "number": "67",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-09-27T15:16:04.573587Z",
                    "number": "68",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-09-29T07:16:35.580094Z",
                    "number": "69",
                    "summary": "EPSS created.| Unknown change."
                },
                {
                    "date": "2026-09-29T07:16:45.173031Z",
                    "number": "70",
                    "summary": "NCSC Score updated."
                }
            ],
            "status": "interim",
            "version": "70"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<2.1.3",
                                "product": {
                                    "name": "vers:unknown/<2.1.3",
                                    "product_id": "CSAFPID-2853314",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:*"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "css-what"
                    }
                ],
                "category": "vendor",
                "name": "css-what Project"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=0|<2.1.3",
                                "product": {
                                    "name": "vers:unknown/>=0|<2.1.3",
                                    "product_id": "CSAFPID-4948678"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.4.3",
                                "product": {
                                    "name": "vers:unknown/v0.4.3",
                                    "product_id": "CSAFPID-4283647"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.4.4",
                                "product": {
                                    "name": "vers:unknown/v0.4.4",
                                    "product_id": "CSAFPID-4283648"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.4.5",
                                "product": {
                                    "name": "vers:unknown/v0.4.5",
                                    "product_id": "CSAFPID-4283649"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.4.6",
                                "product": {
                                    "name": "vers:unknown/v0.4.6",
                                    "product_id": "CSAFPID-4283650"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.4.7",
                                "product": {
                                    "name": "vers:unknown/v0.4.7",
                                    "product_id": "CSAFPID-4283651"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v2.0.0",
                                "product": {
                                    "name": "vers:unknown/v2.0.0",
                                    "product_id": "CSAFPID-4283652"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v2.0.1",
                                "product": {
                                    "name": "vers:unknown/v2.0.1",
                                    "product_id": "CSAFPID-4283653"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v2.0.2",
                                "product": {
                                    "name": "vers:unknown/v2.0.2",
                                    "product_id": "CSAFPID-4283654"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v2.1.0",
                                "product": {
                                    "name": "vers:unknown/v2.1.0",
                                    "product_id": "CSAFPID-4283655"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v2.1.2",
                                "product": {
                                    "name": "vers:unknown/v2.1.2",
                                    "product_id": "CSAFPID-4283656"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "css-what"
                    }
                ],
                "category": "vendor",
                "name": "fb55"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "branches": [
                                    {
                                        "category": "product_version_range",
                                        "name": "vers:deb/5.0.1-1",
                                        "product": {
                                            "name": "vers:deb/5.0.1-1",
                                            "product_id": "CSAFPID-1409411",
                                            "product_identification_helper": {
                                                "purl": "pkg:deb/debian/node-css-what@5.0.1-1?distro=bookworm"
                                            }
                                        }
                                    }
                                ],
                                "category": "product_name",
                                "name": "node-css-what"
                            }
                        ],
                        "category": "product_family",
                        "name": "bookworm"
                    }
                ],
                "category": "vendor",
                "name": "Debian"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2022-21222",
            "cwe": {
                "id": "CWE-1333",
                "name": "Inefficient Regular Expression Complexity"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.",
                    "title": "nvd - https://nvd.nist.gov/vuln/detail/CVE-2022-21222"
                },
                {
                    "category": "description",
                    "text": "The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/GIT%2FCVE-2022-21222.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "The package css-what before 2.1.3 is vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of insecure regular expression in the `re_attr` variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/npm%2FGHSA-p28h-cc7q-c4fg.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.",
                    "title": "nvd - https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-21222"
                },
                {
                    "category": "description",
                    "text": "The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.",
                    "title": "debian - https://security-tracker.debian.org/tracker/CVE-2022-21222"
                },
                {
                    "category": "description",
                    "text": "The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.",
                    "title": "cveprojectv5 - https://www.cve.org/CVERecord?id=CVE-2022-21222"
                },
                {
                    "category": "other",
                    "text": "0.01904",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "4.9",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "There is cvss data available from a private source, Is related to (a version of) an uncommon product, There is product data available from a private source, Is related to (a version of) product Debian Linux, Is related to a product by vendor Canonical",
                    "title": "NCSC Score top increasing factors"
                },
                {
                    "category": "other",
                    "text": "There is exploit data available from source Nvd",
                    "title": "NCSC Score top decreasing factors"
                }
            ],
            "product_status": {
                "first_fixed": [
                    "CSAFPID-1409411"
                ],
                "known_affected": [
                    "CSAFPID-2853314",
                    "CSAFPID-4283647",
                    "CSAFPID-4283648",
                    "CSAFPID-4283649",
                    "CSAFPID-4283650",
                    "CSAFPID-4283651",
                    "CSAFPID-4283652",
                    "CSAFPID-4283653",
                    "CSAFPID-4283654",
                    "CSAFPID-4283655",
                    "CSAFPID-4283656",
                    "CSAFPID-4948678"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21222"
                },
                {
                    "category": "external",
                    "summary": "Source - debian",
                    "url": "https://security-tracker.debian.org/tracker/CVE-2022-21222"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/GIT%2FCVE-2022-21222.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/npm%2FGHSA-p28h-cc7q-c4fg.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-21222"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss"
                },
                {
                    "category": "external",
                    "summary": "Source - ncscclear",
                    "url": "https://vulnerabilities.ncsc.nl/manual/CVE-2022-21222"
                },
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://www.cve.org/CVERecord?id=CVE-2022-21222"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd; osv",
                    "url": "https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd; osv",
                    "url": "https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; nvd; osv",
                    "url": "https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21222.json"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21222"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js#23L12"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://github.com/fb55/css-what/commit/dc510929790da6617e7aa93a616498b22f6a6b72"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "products": [
                        "CSAFPID-2853314",
                        "CSAFPID-4283647",
                        "CSAFPID-4283648",
                        "CSAFPID-4283649",
                        "CSAFPID-4283650",
                        "CSAFPID-4283651",
                        "CSAFPID-4283652",
                        "CSAFPID-4283653",
                        "CSAFPID-4283654",
                        "CSAFPID-4283655",
                        "CSAFPID-4283656",
                        "CSAFPID-4948678"
                    ]
                }
            ],
            "title": "CVE-2022-21222"
        }
    ]
}