Description
The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption.
Problem types
CWE-407: Inefficient Algorithmic Complexity
Product status
Any version before 1.24.8
1.25.0 (semver) before 1.25.2
Credits
Jakub Ciolek
References
groups.google.com/g/golang-announce/c/4Emdl2iQ_bI