Uh oh!
There was an error while loading. Please reload this page.
fix: resolve composer audit failures - #30
Merged
Merged
Conversation
The composer-audit CI job failed for two reasons: it ran `composer audit` in a fresh container with no install (so it errored with "No installed packages found"), and once running it reported 14 advisories across 6 packages (twig, symfony/*, guzzle) published after the last green run. Audit the lock file directly with `composer audit --locked` (matching the updated devops_itkdev-docker template) and update the vulnerable dependencies to patched versions within the existing constraints. All advisories clear; the API test suite passes.
✅ No changes detected in API specification |
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Make the
composer-auditCI check pass again (currently red on every PR, e.g. #28).Changes
.github/workflows/composer.yaml— audit the lock file directly:composer audit→composer audit --locked. The job ran in a fresh container with nocomposer install, so it errored with "No installed packages found" before auditing anything.--lockedmatches the updateddevops_itkdev-dockertemplate (its PR #143) and needs no install.composer.lock— update the vulnerable packages to patched versions, within the existingcomposer.jsonconstraints (nocomposer.jsonchange; all transitive):twig/twig3.26.0 → 3.28.0symfony/*(security-http, security-core, http-kernel, http-foundation, routing, error-handler, event-dispatcher, string, var-dumper, …) → latest 7.4.x patchesguzzlehttp/guzzle7.10.3 → 7.13.2,guzzlehttp/psr72.8.1 → 2.12.3CHANGELOG.md—[Unreleased]entry.Why
composer auditreported 14 advisories across 6 packages (incl. high-severitysymfony/security-httpfirewall bypass CVE-2026-48489 andtwig/twigCVE-2026-49981), all published after the last green run on 2026-05-22. Bumping to the patched releases clears every advisory.Verification
composer audit --locked→ No security vulnerability advisories found.bin/console lint:container→ OK.Note
The
composer.yamlheader says the file is templated fromdevops_itkdev-docker— the--lockedchange there is already merged, so this is a sync of that one line. A fuller template re-sync (e.g.actions/checkout@v6) is out of scope here.