busybox: invalid free or segmentation fault via malformed gzip data (CVE-2021-28831)
decompress_gunzip.c in BusyBox through 1.32.1 mishandles the error bit on the huft_build result pointer, with a resultant invalid free or segmentation fault, via malformed gzip data.
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-28831
- https://security-tracker.debian.org/tracker/CVE-2021-28831
Patch:
https://git.busybox.net/busybox/commit/?id=f25d254dfd4243698c31a4f3153d4ac72aa9e9bd
Affected branches:
Edited by Kevin Daudt