Fix league/commonmark's quadratic complexity bugs may lead to a denial of service

This commit is contained in:
Joël Pittet 2024-12-11 12:04:45 -08:00
parent 06a0ac895d
commit 014350a26b

19
composer.lock generated
View file

@ -3551,16 +3551,16 @@
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
"version": "2.5.3", "version": "2.6.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/commonmark.git", "url": "https://github.com/thephpleague/commonmark.git",
"reference": "b650144166dfa7703e62a22e493b853b58d874b0" "reference": "d150f911e0079e90ae3c106734c93137c184f932"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/b650144166dfa7703e62a22e493b853b58d874b0", "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d150f911e0079e90ae3c106734c93137c184f932",
"reference": "b650144166dfa7703e62a22e493b853b58d874b0", "reference": "d150f911e0079e90ae3c106734c93137c184f932",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3585,8 +3585,9 @@
"phpstan/phpstan": "^1.8.2", "phpstan/phpstan": "^1.8.2",
"phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0",
"scrutinizer/ocular": "^1.8.1", "scrutinizer/ocular": "^1.8.1",
"symfony/finder": "^5.3 | ^6.0 || ^7.0", "symfony/finder": "^5.3 | ^6.0 | ^7.0",
"symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", "symfony/process": "^5.4 | ^6.0 | ^7.0",
"symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0",
"unleashedtech/php-coding-standard": "^3.1.1", "unleashedtech/php-coding-standard": "^3.1.1",
"vimeo/psalm": "^4.24.0 || ^5.0.0" "vimeo/psalm": "^4.24.0 || ^5.0.0"
}, },
@ -3596,7 +3597,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "2.6-dev" "dev-main": "2.7-dev"
} }
}, },
"autoload": { "autoload": {
@ -3653,7 +3654,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-08-16T11:46:16+00:00" "time": "2024-12-07T15:34:16+00:00"
}, },
{ {
"name": "league/config", "name": "league/config",
@ -16572,6 +16573,6 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-pdo": "*" "ext-pdo": "*"
}, },
"platform-dev": [], "platform-dev": {},
"plugin-api-version": "2.6.0" "plugin-api-version": "2.6.0"
} }