Repository navigation
Conversation
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing the changes
Local build testing
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:
make oldconfig, taking upstream defaults for options added since 1.34.1 (new applets include tree, lsblk, uuidgen, vmstat, tsort, getfattr, seedrng, sha384sum)make oldconfigon each result changes nothing, so the build needs no input.Built with
./xbps-src -Q pkg busyboxin 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".