Skip to content

Commit 7878b20

Browse files
committed
Require patched PHPUnit versions to fix CVE (unsafe deserialization in PHPT test runner)
Updates PHPUnit constraints to require versions with the fix for the unsafe deserialization vulnerability in the cleanupForCoverage() method: - PHPUnit 8.5.52+ (was 8.5.x) - PHPUnit 9.6.33+ (was 9.6.x) Removes PHPUnit 7.x support as it is EOL and patch status unclear. Vulnerability affects: <= 8.5.51, <= 9.6.32, <= 10.5.61, <= 11.5.49, <= 12.5.7
1 parent e8788a7 commit 7878b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ext-mbstring": "*"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "^7.5|^8.5|^9.6"
20+
"phpunit/phpunit": "^8.5.52|^9.6.33"
2121
},
2222
"autoload": {
2323
"psr-0": {"Parsedown": ""}

0 commit comments

Comments
 (0)