Improper resource allocation In golang-1.15
Description
Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 11 | - | ||
debian 12 | 1.19.2-1 | ||
go | 1.18.7 | ||
rpm rhel8 | 0:3.2.0-2.el8 | ||
rpm rhel8 | - | - | |
rpm rhel9 | 0:3.2.0-1.el9 | ||
rpm rhel9 | 0:1.18.9-1.el9_1 | ||
rpm rhel8 | - | - | |
rpm rhel9 | - | - | |
rpm rhel8 | 0:1.18.9-1.module+el8.7.0+17845+708ebe87 |
1-10 of 28
10
Aliases
References