{"api_version":"1","generated_at":"2026-04-23T01:14:58+00:00","cve":"CVE-2021-31525","urls":{"html":"https://cve.report/CVE-2021-31525","api":"https://cve.report/api/cve/CVE-2021-31525.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31525","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31525"},"summary":{"title":"CVE-2021-31525","description":"net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-05-27 13:15:00","updated_at":"2023-11-07 03:34:00"},"problem_types":["CWE-674"],"metrics":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc","name":"https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc","refsource":"MISC","tags":[],"title":"Go 1.16.4 and Go 1.15.12 are released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/golang/go/issues/45710","name":"https://github.com/golang/go/issues/45710","refsource":"MISC","tags":[],"title":"net/http: ReadRequest can stack overflow due to recursion with very large headers · Issue #45710 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202208-02","name":"GLSA-202208-02","refsource":"GENTOO","tags":[],"title":"Go: Multiple Vulnerabilities (GLSA 202208-02) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF/","name":"FEDORA-2021-ee3c072cd0","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: golang-1.16.4-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF/","name":"FEDORA-2021-ee3c072cd0","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: golang-1.16.4-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31525","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31525","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"31525","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31525","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"go","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-31525","qid":"159347","title":"Oracle Enterprise Linux Security Update for go-toolset:ol8 (ELSA-2021-3076)"},{"cve":"CVE-2021-31525","qid":"179725","title":"Debian Security Update for golang-1.15golang-golang-x-net (CVE-2021-31525)"},{"cve":"CVE-2021-31525","qid":"239537","title":"Red Hat Update for OpenShift Container Platform 4.8.4 (RHSA-2021:2984)"},{"cve":"CVE-2021-31525","qid":"239549","title":"Red Hat Update for go-toolset:rhel8 (RHSA-2021:3076)"},{"cve":"CVE-2021-31525","qid":"239606","title":"Red Hat Update for OpenShift Container Platform 4.8.9 packages (RHSA-2021:3248)"},{"cve":"CVE-2021-31525","qid":"239641","title":"Red Hat Update for Red Hat OpenStack Platform 16.2 (etcd) (RHSA-2021:3487)"},{"cve":"CVE-2021-31525","qid":"239942","title":"Red Hat Update for OpenStack Platform 16.1 (RHSA-2021:5072)"},{"cve":"CVE-2021-31525","qid":"239945","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-31525","qid":"239948","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-31525","qid":"239951","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-31525","qid":"239956","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-31525","qid":"239957","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-31525","qid":"240042","title":"Red Hat Update for openshift container storage 3.11.z (RHSA-2022:0308)"},{"cve":"CVE-2021-31525","qid":"281175","title":"Fedora Security Update for golang (FEDORA-2021-a50122f73b)"},{"cve":"CVE-2021-31525","qid":"352397","title":"Amazon Linux Security Advisory for golang: ALAS2-2021-1657"},{"cve":"CVE-2021-31525","qid":"352479","title":"Amazon Linux Security Advisory for golang: ALAS-2021-1512"},{"cve":"CVE-2021-31525","qid":"352538","title":"Amazon Linux Security Advisory for golang: AL2012-2021-342"},{"cve":"CVE-2021-31525","qid":"375598","title":"Go Denial Of Service Vulnerability"},{"cve":"CVE-2021-31525","qid":"377560","title":"Alibaba Cloud Linux Security Update for go-toolset:rhel8 (ALINUX3-SA-2021:0060)"},{"cve":"CVE-2021-31525","qid":"378883","title":"Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)"},{"cve":"CVE-2021-31525","qid":"501569","title":"Alpine Linux Security Update for go"},{"cve":"CVE-2021-31525","qid":"501858","title":"Alpine Linux Security Update for go"},{"cve":"CVE-2021-31525","qid":"670704","title":"EulerOS Security Update for golang (EulerOS-SA-2021-2462)"},{"cve":"CVE-2021-31525","qid":"670739","title":"EulerOS Security Update for golang (EulerOS-SA-2021-2497)"},{"cve":"CVE-2021-31525","qid":"670769","title":"EulerOS Security Update for golang (EulerOS-SA-2021-2527)"},{"cve":"CVE-2021-31525","qid":"670793","title":"EulerOS Security Update for golang (EulerOS-SA-2021-2551)"},{"cve":"CVE-2021-31525","qid":"670874","title":"EulerOS Security Update for golang (EulerOS-SA-2021-2551)"},{"cve":"CVE-2021-31525","qid":"690147","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for go (7f242313-aea5-11eb-8151-67f74cf7c704)"},{"cve":"CVE-2021-31525","qid":"710584","title":"Gentoo Linux Go Multiple Vulnerabilities (GLSA 202208-02)"},{"cve":"CVE-2021-31525","qid":"750681","title":"SUSE Enterprise Linux Security Update for go1.15 (SUSE-SU-2021:2082-1)"},{"cve":"CVE-2021-31525","qid":"750682","title":"SUSE Enterprise Linux Security Update for go1.16 (SUSE-SU-2021:2085-1)"},{"cve":"CVE-2021-31525","qid":"750703","title":"OpenSUSE Security Update for go1.15 (openSUSE-SU-2021:0904-1)"},{"cve":"CVE-2021-31525","qid":"770070","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:2984)"},{"cve":"CVE-2021-31525","qid":"770078","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:3248)"},{"cve":"CVE-2021-31525","qid":"770102","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021-3248)"},{"cve":"CVE-2021-31525","qid":"770106","title":"Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021-2984)"},{"cve":"CVE-2021-31525","qid":"900141","title":"CBL-Mariner Linux Security Update for golang 1.15.11"},{"cve":"CVE-2021-31525","qid":"903273","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (4319)"},{"cve":"CVE-2021-31525","qid":"907762","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (4319-1)"},{"cve":"CVE-2021-31525","qid":"940126","title":"AlmaLinux Security Update for go-toolset:rhel8 (ALSA-2021:3076)"},{"cve":"CVE-2021-31525","qid":"960708","title":"Rocky Linux Security Update for go-toolset:rhel8 (RLSA-2021:3076)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-31525","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc","url":"https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc"},{"refsource":"MISC","name":"https://github.com/golang/go/issues/45710","url":"https://github.com/golang/go/issues/45710"},{"refsource":"FEDORA","name":"FEDORA-2021-ee3c072cd0","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF/"},{"refsource":"GENTOO","name":"GLSA-202208-02","url":"https://security.gentoo.org/glsa/202208-02"}]}},"nvd":{"publishedDate":"2021-05-27 13:15:00","lastModifiedDate":"2023-11-07 03:34:00","problem_types":["CWE-674"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.6},"severity":"LOW","exploitabilityScore":4.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionStartIncluding":"1.16.0","versionEndExcluding":"1.16.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionEndExcluding":"1.15.12","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"31525","Ordinal":"206820","Title":"CVE-2021-31525","CVE":"CVE-2021-31525","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"31525","Ordinal":"1","NoteData":"net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"31525","Ordinal":"2","NoteData":"2021-05-27","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"31525","Ordinal":"3","NoteData":"2021-06-21","Type":"Other","Title":"Modified"}]}}}