{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-31054",
        "STATE": "PUBLIC",
        "TITLE": "Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "argo-events",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 1.7.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "argoproj"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Argo Events is an event-driven workflow automation framework for Kubernetes. Prior to version 1.7.1, several `HandleRoute` endpoints make use of the deprecated `ioutil.ReadAll()`. `ioutil.ReadAll()` reads all the data into memory. As such, an attacker who sends a large request to the Argo Events server will be able to crash it and cause denial of service. A patch for this vulnerability has been released in Argo Events version 1.7.1."
            }
        ]
    },
    "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"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57",
                "refsource": "CONFIRM",
                "url": "https://github.com/argoproj/argo-events/security/advisories/GHSA-5q86-62xr-3r57"
            },
            {
                "name": "https://github.com/argoproj/argo-events/issues/1946",
                "refsource": "MISC",
                "url": "https://github.com/argoproj/argo-events/issues/1946"
            },
            {
                "name": "https://github.com/argoproj/argo-events/pull/1966",
                "refsource": "MISC",
                "url": "https://github.com/argoproj/argo-events/pull/1966"
            },
            {
                "name": "https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35",
                "refsource": "MISC",
                "url": "https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-5q86-62xr-3r57",
        "discovery": "UNKNOWN"
    }
}