Repository navigation
fix(deps): update phpunit/phpunit to 13.4.5 for GHSA-9vw2-f4vp-x7gf - #40
Closed
knittingcode wants to merge 1 commit into
Closed
knittingcode wants to merge 1 commit into
knittingcode wants to merge 1 commit into
Conversation
PHPUnit 13.4.0 to 13.4.3 let other local users execute code through a shared temporary directory used for PHPT code coverage (PKSA-qhjm-rpqc-qkn6, reported 2026-10-27). composer audit (BE-03) fails on every CI run until the locked version is fixed. Composer's bump-after-update raises the constraint to ^13.4.5, so the vulnerable versions cannot be locked again. No other package changes.
This was referenced Oct 28, 2026
Owner
Author
|
Superseded by #42 (squash commit 1badf76). Verified against main 1badf76: backend/composer.json and backend/composer.lock are byte-identical to this PR's head e9c22e3 (phpunit/phpunit 13.4.5, GHSA-9vw2-f4vp-x7gf). Main CI run 40745073009 passes BE-03 composer audit. Closed without merging; the branch is kept. |
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.
Summary
Updates the dev dependency
phpunit/phpunitfrom 13.4.3 to 13.4.5 to fix advisory GHSA-9vw2-f4vp-x7gf (Packagist PKSA-qhjm-rpqc-qkn6, no CVE).Motivation
composer audit(BE-03) now fails on every CI run, including main after test(stack): report why an interrupted restore check of ST-50 failed #38: run 40669720894 on999d4d1.202ea9eitself is affected, so the failure is not caused by test(stack): report why an interrupted restore check of ST-50 failed #38.Implementation
composer update phpunit/phpunit --with-dependencies --no-install, run in the project's PHP 8.5.12 API image with Composer 2.9.7.bump-after-update: trueraised it from^13to^13.4.5, so a vulnerable version can't be locked again.sebastian/git-state ^1.1; the lock already has 1.1.0.Testing
Local runs, in a throwaway container from the API image:
composer validate: valid.composer audit --locked: no advisories.phpunit --testsuite unit: 156 tests OK on PHPUnit 13.4.5.CI run 40671261985 on this head (
e9c22e3):No security vulnerability advisories found. Backend 18/18 (unit 156, integration 278, 53/53 negative controls), frontend 5/5, application stack 124/124, production-like 39/39.go-jose/v44.1.5 is fixed in 4.1.6.go-jose/v33.0.5 has no fix. It comes in throughcaddypki, then smallstep, thengo.step.sm/crypto.Security considerations
composer install --no-dev, so it isn't installed in production.Known limitations
CI can't go fully green until the go-jose finding in the edge image is resolved separately.