{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-3807",
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntrdev",
        "dateUpdated": "2024-08-03T17:09:08.762Z",
        "dateReserved": "2021-09-16T00:00:00",
        "datePublished": "2021-09-17T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
            "providerMetadata": {
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntrdev",
                "dateUpdated": "2022-10-14T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "ansi-regex is vulnerable to Inefficient Regular Expression Complexity"
                }
            ],
            "affected": [
                {
                    "vendor": "chalk",
                    "product": "chalk/ansi-regex",
                    "versions": [
                        {
                            "version": "unspecified",
                            "lessThan": "6.0.1",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "5.0.1",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.0.1",
                            "status": "unaffected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994"
                },
                {
                    "url": "https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20221014-0002/"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-1333 Inefficient Regular Expression Complexity",
                            "cweId": "CWE-1333"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "5b3cf33b-ede0-4398-9974-800876dfd994",
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:09:08.762Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20221014-0002/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}