This repository was archived by the owner on Apr 7, 2026. It is now read-only.
fix(security): Rebuild image to upgrade imagemagick (deb13u6) (CVE-2026-25897)#179
Merged
pauldub merged 1 commit intoMar 16, 2026
Merged
Conversation
pauldub
commented
Mar 12, 2026
| @@ -1,4 +1,4 @@ | |||
| FROM python:3.12 | |||
| FROM python:3.12.13 | |||
Contributor
Author
There was a problem hiding this comment.
@honestica/infra c'est juste un moyen de forcer un nouveau build docker, mais je trouve ca interessant comme cas. Est-ce qu'on a un moyen de faire un build --no-cache avec l'orb dradis?
There was a problem hiding this comment.
Alors la aucune idée par contre, peut être que Benoit et Marc ont plus de connaissance la dessus @honestica/team-dev-ux
Contributor
There was a problem hiding this comment.
oui oui on peut passer l'option https://github.com/honestica/circleci-orb/blob/master/DOCS.md#docker-build-and-push dockerBuildOptions
maudlaurent-lifen
approved these changes
Mar 16, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Fix Strategy
Trigger a fresh Docker image build without cache. The
Dockerfilealready runsapt-get dist-upgrade -y, so a rebuild will pull the patchedimagemagickpackage (8:7.1.1.43+dfsg1-1+deb13u6) from the Debian repos.docker build --no-cache .No code change is required — rebuilding the image is sufficient.
Analysis
Analysis
imagemagickis not installed explicitly by the application. It is a transitive system package present in thepython:3.12Debian-based base image.The
Dockerfilealready containsapt-get dist-upgrade -y, which upgrades all installed packages at build time. However, the patched version (8:7.1.1.43+dfsg1-1+deb13u6) was not yet available when the current image (honestica/alert2jira:3b09f2d2c68e452017aabeb5acc172ceb9150d66) was last built — it was built againstdeb13u5.Fix
A no-cache rebuild of the Docker image is sufficient. No code changes are needed:
docker build --no-cache .This will re-run
apt-get dist-upgradeagainst the current Debian 13 package index and install the patchedimagemagickversion.CVEs covered
msl.c)ReadYUVImage()All eight CVEs are fixed in
8:7.1.1.43+dfsg1-1+deb13u6.Generated by robbie