| Package | Affected versions | Patched versions |
|---|---|---|
| stdlib | ≥ 1.19.0-0, < 1.19.2< 1.18.7 | 1.19.21.18.7 |
| go | ≥ 1.19.0, < 1.19.2< 1.18.7 | 1.19.21.18.7 |
Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free