Repository navigation
build: add a pinned brotli 1.2.1 recipe for the AppImage (#2774) - #22
Merged
Merged
Conversation
The AppImage's libcurl decodes with the AlmaLinux 8 base's brotli 1.0.6, which is inside CVE-2026-111497's range (1.0.3-1.2.0). Pin 1.2.1 (the first release past it) as a recipe, build it into /opt/obs-deps/brotli, and add a test that keeps the pin out of the vulnerable range. Refs obs-rust/obs-studio#2774
This was referenced Oct 28, 2026
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.
Adds
recipes/linux/brotli.sh, a pinned brotli 1.2.1 built into/opt/obs-deps/brotliby the manylinux_2_28 image. Refs obs-rust/obs-studio#2774: the AppImage's libcurl currently decodes with the AlmaLinux 8 base's brotli 1.0.6, inside CVE-2026-111497's vulnerable range (1.0.3–1.2.0), so #2211's outgoing-HTTP stop-gap cannot be reverted while that base is in use. 1.2.1 (published 2026-10-21) is the first release past the range.Built and published
Built in the digest-pinned manylinux_2_28 image (
quay.io/pypa/manylinux_2_28_x86_64@sha256:4131ddd7…), packed byrecipes/linux/build.sh brotli:dist/brotli-1.2.1-linux-x86_64-glibc2.28-release.tar.zst, 443,768 bytes, sha256eb4f2214dbc91eb1529e4a61499fce26ae03c06dde10935cdc6e8cf0d1b0793d.lib/libbrotli{common,dec,enc}.so.1.2.1with the usual.so/.so.1symlinks,lib/pkgconfig/libbrotli*.pc, headers and man pages.BrotliDecoderVersion()returns0x1002001= 1.2.1 (the base's is0x1000006= 1.0.6), and the artifact'sglibcfloor is still 2.28.brotli/manifest.json+ the root Index on theassetsbranch (dad22f7). The Index entry resolves over plain HTTPS.Tests
tests/test_brotli_recipe.py(3 checks): the recipe's pinned VERSION is greater than 1.2.0; it builds shared libraries without the codec's own tests; andbuild.shincludesbrotliin its default tool list.uv run --group dev pytest→ 28 passed;uv run --group dev ruff check .andruff format --check .→ clean.Not in this PR
The consumer half stays in obs-rust/obs-studio: add brotli to the AppImage image's
deps.lock.json/CMAKE_PREFIX_PATHand make the libcurl SRPM rebuild link against the pinned prefix, then verify in the AppImage (curl_version()reports the pinned brotli,BrotliDecoderVersion()out of range) and runtest-appimage.shacross the stock containers. That needs the appimage image rebuild, so it is a separate PR in that repository; this one only publishes the dependency it consumes. A pinned curl 8.x recipe is the other half of #2774's suggested scope and remains to be added.