package/busybox: security bump version to 1.38.0
PATCH v2 1/1 package/busybox: security bump version to 1.38.0
https://www.busybox.net/news.html
Removed patches which are included in this release, renumbered remaining patches.
Patch 0006 was removed because its fix is included in upstream commit
https://github.com/vda-linux/busybox_mirror/commit/9a8796436b9b0641e13480811902ea2ac57881d3
which also adds a new Kconfig option, disabled by default, to fix CVE-2023-39810. To improve security we enable this option by default.
---
v2:
- updated BUSYBOX_IGNORE_CVES comments (Fiona)
- added CONFIG_FEATURE_PATH_TRAVERSAL_PROTECTION to config files (Fiona)
...-failing-saying-ncurses-is-not-found.patch | 38 ------------
...Fix-compilation-with-Linux-v6.8-rc1.patch} | 0
...-awk.c-fix-CVE-2023-42366-bug-15874.patch} | 0
...-SYS_settimeofday-before-calling-sy.patch} | 0
...x-wrong-OPT_locallog-flag-detection.patch} | 0
...0-libbb-sha-add-missing-sha-NI-guard.patch | 54 -----------------
...tests-fix-test-after-cve-2025-46394.patch} | 0
...rol-characters-or-spaces-in-the-URL.patch} | 0
...archive-sanitize-filenames-on-output.patch | 58 -------------------
package/busybox/busybox-minimal.config | 1 +
package/busybox/busybox.config | 1 +
package/busybox/busybox.hash | 4 +-
package/busybox/busybox.mk | 7 +--
13 files changed, 7 insertions(+), 156 deletions(-)
delete mode 100644 package/busybox/0006-menuconfig-GCC-failing-saying-ncurses-is-not-found.patch
rename package/busybox/{0007-tc-Fix-compilation-with-Linux-v6.8-rc1.patch => 0006-tc-Fix-compilation-with-Linux-v6.8-rc1.patch} (100%)
rename package/busybox/{0008-awk.c-fix-CVE-2023-42366-bug-15874.patch => 0007-awk.c-fix-CVE-2023-42366-bug-15874.patch} (100%)
rename package/busybox/{0009-hwclock-Check-for-SYS_settimeofday-before-calling-sy.patch => 0008-hwclock-Check-for-SYS_settimeofday-before-calling-sy.patch} (100%)
rename package/busybox/{0011-syslogd-fix-wrong-OPT_locallog-flag-detection.patch => 0009-syslogd-fix-wrong-OPT_locallog-flag-detection.patch} (100%)
delete mode 100644 package/busybox/0010-libbb-sha-add-missing-sha-NI-guard.patch
rename package/busybox/{0013-testsuite-tar-tests-fix-test-after-cve-2025-46394.patch => 0010-testsuite-tar-tests-fix-test-after-cve-2025-46394.patch} (100%)
rename package/busybox/{0014-wget-dont-allow-control-characters-or-spaces-in-the-URL.patch => 0011-wget-dont-allow-control-characters-or-spaces-in-the-URL.patch} (100%)
delete mode 100644 package/busybox/0012-archival-libarchive-sanitize-filenames-on-output.patchpackage/busybox/0006-menuconfig-GCC-failing-saying-ncurses-is-not-found.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 7f0bb7f69f38298971aa8153d3fbe9b1fdda8ae7 Mon Sep 17 00:00:00 2001 -From: ctxnop <[email protected]> -Date: Sun, 26 Jan 2025 20:59:20 +0100 -Subject: [PATCH] menuconfig: GCC failing saying ncurses is not found - -Newer GCC increased diagnostics levels resulting in considering the -test code to be invalid. The resulting message was misleading, saying -that ncurses was not found, while the check failed for an unrelated -reason which was hidden because GCC stderr was redirected to -/dev/null. - -Signed-off-by: ctxnop <[email protected]> -Upstream: http://lists.busybox.net/pipermail/busybox/2024-July/090840.html -[Fiona: rephrased commit message for clarity] -Signed-off-by: Fiona Klute (WIWA) <[email protected]> ---- - scripts/kconfig/lxdialog/check-lxdialog.sh | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh -index 5075ebf2d..08e4da3de 100755 ---- a/scripts/kconfig/lxdialog/check-lxdialog.sh -+++ b/scripts/kconfig/lxdialog/check-lxdialog.sh -@@ -45,9 +45,9 @@ trap "rm -f $tmp" 0 1 2 3 15 - - # Check if we can link to ncurses - check() { -- $cc -x c - -o $tmp 2>/dev/null <<'EOF' -+ $cc -x c - -o $tmp <<'EOF' - #include CURSES_LOC --main() {} -+int main() { return 0; } - EOF - if [ $? != 0 ]; then - echo " *** Unable to find the ncurses libraries or the" 1>&2 --- -2.48.1 -
package/busybox/0006-tc-Fix-compilation-with-Linux-v6.8-rc1.patch renamed from package/busybox/0007-tc-Fix-compilation-with-Linux-v6.8-rc1.patch +0 -0
package/busybox/0007-awk.c-fix-CVE-2023-42366-bug-15874.patch renamed from package/busybox/0008-awk.c-fix-CVE-2023-42366-bug-15874.patch +0 -0
package/busybox/0008-hwclock-Check-for-SYS_settimeofday-before-calling-sy.patch renamed from package/busybox/0009-hwclock-Check-for-SYS_settimeofday-before-calling-sy.patch +0 -0
package/busybox/0009-syslogd-fix-wrong-OPT_locallog-flag-detection.patch renamed from package/busybox/0011-syslogd-fix-wrong-OPT_locallog-flag-detection.patch +0 -0
package/busybox/0010-libbb-sha-add-missing-sha-NI-guard.patch deleted +0 -54
54 lines not on this page · raw message
package/busybox/0010-testsuite-tar-tests-fix-test-after-cve-2025-46394.patch renamed from package/busybox/0013-testsuite-tar-tests-fix-test-after-cve-2025-46394.patch +0 -0
package/busybox/0011-wget-dont-allow-control-characters-or-spaces-in-the-URL.patch renamed from package/busybox/0014-wget-dont-allow-control-characters-or-spaces-in-the-URL.patch +0 -0
package/busybox/0012-archival-libarchive-sanitize-filenames-on-output.patch deleted +0 -58
58 lines not on this page · raw message
package/busybox/busybox-minimal.config +1 -0
@@ -190,6 +190,7 @@ CONFIG_LZOPCAT=y # CONFIG_FEATURE_UNZIP_LZMA is not set # CONFIG_FEATURE_UNZIP_XZ is not set # CONFIG_FEATURE_LZMA_FAST is not set +CONFIG_FEATURE_PATH_TRAVERSAL_PROTECTION=y # # Coreutils
package/busybox/busybox.config +1 -0
@@ -196,6 +196,7 @@ CONFIG_FEATURE_UNZIP_BZIP2=y CONFIG_FEATURE_UNZIP_LZMA=y CONFIG_FEATURE_UNZIP_XZ=y # CONFIG_FEATURE_LZMA_FAST is not set +CONFIG_FEATURE_PATH_TRAVERSAL_PROTECTION=y # # Coreutils
package/busybox/busybox.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://busybox.net/downloads/busybox-1.37.0.tar.bz2.sha256 -sha256 3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4 busybox-1.37.0.tar.bz2 +# From https://www.busybox.net/downloads/busybox-1.38.0.tar.bz2.sha256 +sha256 34f9ea6ff8636f2c9241153b9114eefa9e65674a45318ae1ef95bb5f31c53bb2 busybox-1.38.0.tar.bz2 # Locally computed sha256 bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548 LICENSE sha256 b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f archival/libarchive/bz/LICENSE
package/busybox/busybox.mk +3 -4
@@ -4,7 +4,7 @@ # ################################################################################ -BUSYBOX_VERSION = 1.37.0 +BUSYBOX_VERSION = 1.38.0 BUSYBOX_SITE = https://www.busybox.net/downloads BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2 BUSYBOX_LICENSE = GPL-2.0, bzip2-1.0.4
@@ -15,11 +15,10 @@ BUSYBOX_CPE_ID_VENDOR = busybox # 0004-nslookup-sanitize-all-printed-strings-with-printable.patch BUSYBOX_IGNORE_CVES += CVE-2022-28391 -# 0012-archival-libarchive-sanitize-filenames-on-output.patch -# 0013-testsuite-tar-tests-fix-test-after-cve-2025-46394.patch +# 0010-testsuite-tar-tests-fix-test-after-cve-2025-46394.patch BUSYBOX_IGNORE_CVES += CVE-2025-46394 -# 0014-wget-dont-allow-control-characters-or-spaces-in-the-URL.patch +# 0011-wget-dont-allow-control-characters-or-spaces-in-the-URL.patch BUSYBOX_IGNORE_CVES += CVE-2025-60876 BUSYBOX_CFLAGS = \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Hi,
Quoted 7 lines
https://www.busybox.net/news.html
Removed patches which are included in this release, renumbered remaining patches.Patch 0006 was removed because its fix is included in upstream commit
https://github.com/vda-linux/busybox_mirror/commit/9a8796436b9b0641e13480811902ea2ac57881d3
Quoted 8 lines
which also adds a new
Kconfigoption, disabled by default, to fix CVE-2023-39810. To improve security we enable this option by default.Signed-off-by Bernd Kuhls <[email protected]>---
v2:
- updatedBUSYBOX_IGNORE_CVEScomments (Fiona)
- addedCONFIG_FEATURE_PATH_TRAVERSAL_PROTECTIONto config files (Fiona)
Committed, thanks.
It is a bit unfortunate that there is no git tag corresponding to the 1.38.0 tarball (presumably Denys forgot to push), but I have verified that the tarball corresponds to:
commit fc71374dfccd46448c62947269a35f1420d7ee28
Author: Denys Vlasenko <[email protected]> Date: Wed May 13 04:20:15 2026 +0200
Bump version to 1.38.0
See the discussion on the busybox list:
https://lists.busybox.net/pipermail/busybox/2026-May/092326.html
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot