{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-45290",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2023-10-06T17:06:26.221Z",
        "datePublished": "2024-03-05T22:22:28.703Z",
        "dateUpdated": "2024-08-02T20:21:15.331Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2024-03-05T22:22:28.703Z"
            },
            "title": "Memory exhaustion in multipart form parsing in net/textproto and net/http",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines."
                }
            ],
            "affected": [
                {
                    "vendor": "Go standard library",
                    "product": "net/textproto",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "net/textproto",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.21.8",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.22.0-0",
                            "lessThan": "1.22.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programRoutines": [
                        {
                            "name": "Reader.readLineSlice"
                        },
                        {
                            "name": "Reader.readContinuedLineSlice"
                        },
                        {
                            "name": "Reader.ReadCodeLine"
                        },
                        {
                            "name": "Reader.ReadContinuedLine"
                        },
                        {
                            "name": "Reader.ReadContinuedLineBytes"
                        },
                        {
                            "name": "Reader.ReadDotLines"
                        },
                        {
                            "name": "Reader.ReadLine"
                        },
                        {
                            "name": "Reader.ReadLineBytes"
                        },
                        {
                            "name": "Reader.ReadMIMEHeader"
                        },
                        {
                            "name": "Reader.ReadResponse"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-400: Uncontrolled Resource Consumption"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/issue/65383"
                },
                {
                    "url": "https://go.dev/cl/569341"
                },
                {
                    "url": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2024-2599"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20240329-0004/"
                },
                {
                    "url": "http://www.openwall.com/lists/oss-security/2024/03/08/4"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Bartek Nowotarski"
                }
            ]
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2023-45290",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-03-06T15:04:15.773941Z"
                            }
                        }
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:19:53.634Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T20:21:15.331Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://go.dev/issue/65383",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://go.dev/cl/569341",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://pkg.go.dev/vuln/GO-2024-2599",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20240329-0004/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2024/03/08/4",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}