fix: Backport of Alpine 3.19 to release/v1.19 #28641
Closed
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.
We're currently using
gitea:1.19.x
and our security scanners have detected the Critical CVE-2023-38545 found in the basealpine:3.17
image.This CVE has been fixed in the
main
branch via #28594.This PR backports the fixes to the
release/v1.19
branches.This PR also bumps
github.com/mattn/go-sqlite3
tov1.14.9
due to a build break which was fixed bygo-sqlite3
, a similar bump is introduced inmain
via #28518For testing, issuing a
make test
passes and running atrivy image docker.io/gitea/gitea:latest
shows the Critical CVEs are no longer present withalpine:3.19
as of writingthis PR.We'd like to request the release of a new
gitea:1.19.x
release on the successful merge of this PR.