{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-28122",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": " JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-400: Uncontrolled Resource Consumption",
                        "cweId": "CWE-400"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "lestrrat-go",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "jwx",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.0.0, < 2.0.21"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 1.2.0, < 1.2.29"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259",
                "refsource": "MISC",
                "name": "https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259"
            },
            {
                "url": "https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29",
                "refsource": "MISC",
                "name": "https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29"
            },
            {
                "url": "https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21",
                "refsource": "MISC",
                "name": "https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-hj3v-m684-v259",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 6.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "HIGH",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H",
                "version": "3.1"
            }
        ]
    }
}