| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2023-24534" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Excessive memory allocation in net/http and net/textproto", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain 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. With fix, header parsing now correctly allocates only the memory required to hold parsed headers." |
| } |
| ], |
| "affected": [ |
| { |
| "vendor": "Go standard library", |
| "product": "net/textproto", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "net/textproto", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "1.19.8", |
| "status": "affected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "1.20.0-0", |
| "lessThan": "1.20.3", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "readMIMEHeader" |
| }, |
| { |
| "name": "Reader.upcomingHeaderNewlines" |
| }, |
| { |
| "name": "Reader.ReadMIMEHeader" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-400: Uncontrolled Resource Consumption" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://go.dev/issue/58975" |
| }, |
| { |
| "url": "https://go.dev/cl/481994" |
| }, |
| { |
| "url": "https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2023-1704" |
| }, |
| { |
| "url": "https://security.netapp.com/advisory/ntap-20230526-0007/" |
| }, |
| { |
| "url": "https://security.gentoo.org/glsa/202311-09" |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "Jakob Ackermann (@das7pad)" |
| } |
| ] |
| } |
| } |
| } |