Repository navigation
fix(security): clear expat and sqlite by moving to Alpine 3.23 - #163
Merged
Merged
Conversation
Alpine 3.21 has no patched sqlite (stuck at 3.48.0-r4). 3.23 ships sqlite 3.53.4-r0 and expat 2.10.0-r0, which the existing apk upgrade picks up. Co-authored-by: Cursor <cursoragent@cursor.com>
jason-ford-codecov
approved these changes
Nov 4, 2026
This branch was successfully deployed
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.
Both findings are Alpine packages, and neither needs a version pin.
apk upgradeon the new basepython:3.12-alpine3.21→python:3.12-alpine3.23Alpine 3.21's newest sqlite is 3.48.0-r4, which the security tracker still lists as vulnerable, so a rebuild of 3.21 cannot clear it. 3.23 ships sqlite 3.53.4-r0 (newer than 3.51.1, and the first branch the tracker marks fixed) and expat 2.10.0-r0. The existing
apk upgrade/apk add --upgrade expatsteps pick both up.Testing
CI builds and pushes the image. The test suite is not run in CI; the previous pass showed the 14 failing tests fail on master too and this change does not touch Python dependencies.
Made with Cursor