{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-24836",
        "STATE": "PUBLIC",
        "TITLE": "Inefficient Regular Expression Complexity in Nokogiri"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "nokogiri",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 1.13.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "sparklemotion"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-400: Uncontrolled Resource Consumption"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1333: Inefficient Regular Expression Complexity"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8",
                "refsource": "CONFIRM",
                "url": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8"
            },
            {
                "name": "https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd",
                "refsource": "MISC",
                "url": "https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-9ed7641ce0",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUPLBUZVM4WPFSXBEP2JS3R6LMKRTLFC/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-132c6d7c2e",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XMDCWRQXJQ3TFSETPCEFMQ6RR6ME5UA3/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-d231cb5e1f",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6DHCOWMA5PQTIQIMDENA7R2Y5BDYAIYM/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220513 [SECURITY] [DLA 3003-1] ruby-nokogiri security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00013.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-29",
                "url": "https://security.gentoo.org/glsa/202208-29"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20221012 [SECURITY] [DLA 3149-1] ruby-nokogiri security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213532",
                "url": "https://support.apple.com/kb/HT213532"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221220 APPLE-SA-2022-12-13-4 macOS Ventura 13.1",
                "url": "http://seclists.org/fulldisclosure/2022/Dec/23"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-crjr-9rc5-ghw8",
        "discovery": "UNKNOWN"
    }
}