073c6af03e
This commit fixes the following vulenerability:
- CVE-2025-60876:
BusyBox wget thru 1.3.7 accepted raw CR (0x0D)/LF (0x0A) and other C0
control bytes in the HTTP request-target (path/query), allowing the
request line to be split and attacker-controlled headers to be
injected. To preserve the HTTP/1.1 request-line shape METHOD SP
request-target SP HTTP/1.1, a raw space (0x20) in the request-target
must also be rejected (clients should use %20).
For more information, see:
- https://www.cve.org/CVERecord?id=CVE-2025-60876
- https://lists.busybox.net/pipermail/busybox/2025-November/091840.html
- https://sources.debian.org/data/main/b/busybox/1%3A1.37.0-10/debian/patches/wget-disallow-control-chars-in-URLs-CVE-2025-60876.patch
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>