blob: bf2a7c7a70cabaa6d39a58cc7817f474c70168ab [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1704",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-24534"
],
"summary": "Excessive memory allocation in net/http and net/textproto",
"details": "HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service.\n\nCertain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service.\n\nWith fix, header parsing now correctly allocates only the memory required to hold parsed headers.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.19.8"
},
{
"introduced": "1.20.0-0"
},
{
"fixed": "1.20.3"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "net/textproto",
"symbols": [
"Reader.ReadMIMEHeader",
"Reader.upcomingHeaderNewlines",
"readMIMEHeader"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/58975"
},
{
"type": "FIX",
"url": "https://go.dev/cl/481994"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8"
}
],
"credits": [
{
"name": "Jakob Ackermann (@das7pad)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1704"
}
}