{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-41721",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2022-09-28T17:00:06.609Z",
        "datePublished": "2023-01-13T22:46:22.064Z",
        "dateUpdated": "2024-08-03T12:49:43.550Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2023-06-12T19:12:53.429Z"
            },
            "title": "Request smuggling due to improper request handling in golang.org/x/net/http2/h2c",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests."
                }
            ],
            "affected": [
                {
                    "vendor": "golang.org/x/net",
                    "product": "golang.org/x/net/http2/h2c",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "golang.org/x/net/http2/h2c",
                    "versions": [
                        {
                            "version": "0.0.0-20220524220425-1d687d428aca",
                            "lessThan": "0.1.1-0.20221104162952-702349b0e862",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programRoutines": [
                        {
                            "name": "h2cHandler.ServeHTTP"
                        },
                        {
                            "name": "h2cUpgrade"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE 444: Inconsistent Interpretation of HTTP Requests (\"HTTP Request/Response Smuggling)"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/issue/56352"
                },
                {
                    "url": "https://go.dev/cl/447396"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2023-1495"
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJN/"
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5DXTLLWN6HKI5I35EUZRBISTNZJ75GP/"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "John Howard (Google)"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T12:49:43.550Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://go.dev/issue/56352",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://go.dev/cl/447396",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://pkg.go.dev/vuln/GO-2023-1495",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJN/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5DXTLLWN6HKI5I35EUZRBISTNZJ75GP/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}