CVE-2021-31525

Aliases:GHSA-h86h-8ppg-mxmhBIT-golang-2021-31525GO-2022-0236
Modified
Published: 27 May 2021, 12:17
Last modified:03 Aug 2024, 23:03

Vulnerability Summary

Overall Risk (default)
low
24/100
CVSS Score
5.9 MEDIUM
v3.1 (nvd)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

27 May 2021, 12:17
Published
Vulnerability first disclosed
03 Aug 2024, 23:03
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v2.0LOWScore: 2.6AV:N/AC:H/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 0.02% Percentile: 6%

Techniques & Countermeasures

  • CWE-674Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Systems

  • fedoraprojectfedora

    34

  • golanggo

    < 1.15.12 | ≥ 1.16.0, < 1.16.4

  • golang.org/xnet

    < 0.0.0-20210428140749-89ef3d95e781

  • Gostdlib

    ≥ 1.16.0-0, < 1.16.4

References (11)