Improper resource allocation In stdlib
Description
Stack exhaustion when compiling deeply nested expressions in regexp On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
go | 1.16.15 | ||
debian 11 | 1.15.15-1~deb11u4 | ||
rpm rhel9 | 0:1.17.12-1.el9_0 | ||
rpm rhel7 | - | - | |
rpm rhel8 | 0:1.17.10-1.module+el8.6.0+15486+6d4da7db | ||
rpm rhel9 | 0:1.17.12-1.el9_0 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3. 4.