[3.4] busybox: Multiple vulnerabilities (CVE-2017-15873, CVE-2017-16544)
CVE-2017-15873: Integer overflow in the get_next_block function
The get_next_block function in
archival/libarchive/decompress_bunzip2.c in BusyBox 1.27.2
has an Integer Overflow that may lead to a write access violation.
References:
https://bugs.busybox.net/show\_bug.cgi?id=10431
https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/
Patch:
https://git.busybox.net/busybox/commit/?id=0402cb32df015d9372578e3db27db47b33d5c7b0
CVE-2017-16544: Insufficient sanitization of filenames when autocompleting
In the add_match function in libbb/lineedit.c in BusyBox through
1.27.2, the tab autocomplete feature of the shell,
used to get a list of filenames in a directory, does not sanitize
filenames and results in executing any escape
sequence in the terminal. This could potentially result in code
execution, arbitrary file writes, or other attacks.
References:
https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/
Patch:
https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
(from redmine: issue id 8190, created on 2017-11-22, closed on 2017-11-23)
- Relations:
- parent #8186 (closed)
- Changesets:
- Revision 78518e05 by Natanael Copa on 2017-11-23T08:51:42Z:
main/busybox: secfixes for CVE-2017-15873,CVE-2017-16544
fixes #8190