Skip to content

busybox: update to 1.38.0. - #63867

Open
spiffaz wants to merge 1 commit into
void-linux:masterfrom
spiffaz:busybox-1.38.0
Open

spiffaz wants to merge 1 commit into
void-linux:masterfrom
spiffaz:busybox-1.38.0

Conversation

@spiffaz

@spiffaz spiffaz commented Nov 26, 2026

Copy link
Copy Markdown

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (aarch64-glibc)

1.34.1 is affected by CVE-2022-48174 (stack overflow in ash), fixed upstream after 1.36.1, and by later CVEs fixed in 1.37 and 1.38.

Changes:

  • version 1.38.0, checksum matches https://www.busybox.net/downloads/busybox-1.38.0.tar.bz2.sha256
  • all four patches in patches/ still apply unchanged and are kept
  • files/dotconfig and files/dotconfig-mkinitcpio refreshed with make oldconfig, taking upstream defaults for options added since 1.34.1 (new applets include tree, lsblk, uuidgen, vmstat, tsort, getfattr, seedrng, sha384sum)
  • FEATURE_PATH_TRAVERSAL_PROTECTION enabled in both base configs (upstream default is off): cpio, ar and rpm drop "../" components on extraction, as tar and unzip already do (CVE-2023-39810)
  • httpd, huge, install and udhcpc patches in files/dotconfig.d regenerated against the new base config; each makes the same changes as before, plus upstream defaults for new options nested under features they enable (FEATURE_HTTPD_PORT_DEFAULT=80, and FEATURE_CPIO_IGNORE_DEVNO, FEATURE_CPIO_RENUMBER_INODES, FEATURE_UDHCPD_BOOTP, UDHCPC6_DEFAULT_SCRIPT in huge). All three variant chains apply without offset or fuzz, and make oldconfig on each result changes nothing, so the build needs no input.

Built with ./xbps-src -Q pkg busybox in the void-glibc-full container with the CI setup. 4,174 tests pass. date-works, hostname-d-works and hostname-s-works fail in every variant, and they fail identically when building the current 1.34.1_12 template in the same container (the container hostname has no domain).

Runtime tested by installing the built packages into a clean container: busybox and busybox-static report v1.38.0, ash, sed and awk work, the new applets are present. With busybox-huge and busybox-mkinitcpio, cpio extracts a normal archive, and an archive containing ../victim is extracted inside the target directory with "removing leading '../' from member names".

@spiffaz

spiffaz commented Nov 26, 2026

Copy link
Copy Markdown
Author

@classabbyamp busybox is orphaned and still on 1.34.1, which is affected by CVE-2022-48174 (CVSS 9.8, critical) in ash. The update keeps all existing patches and config choices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant