Skip to content

Conversation

@betsyecastro
Copy link
Contributor

Several polynomial time complexity issues in league/commonmark may lead to unbounded resource exhaustion and subsequent denial of service.

Malicious users could trigger that inefficient code with carefully crafted Markdown inputs that are specifically designed to ensure the worst-case performance is reached. Sending multiple such requests in parallel could tie up all available CPU resources and/or PHP-FPM processes, leading to denial of service for legitimate users.

Refer to GitHub Advisory

@betsyecastro betsyecastro added the 🔒 security Security-related label Mar 7, 2025
@betsyecastro betsyecastro requested a review from wunc March 7, 2025 22:21
@betsyecastro betsyecastro self-assigned this Mar 7, 2025
@betsyecastro betsyecastro force-pushed the upgrade-league-commonmark-library branch from 91e771d to 2f919d1 Compare March 7, 2025 22:49
@betsyecastro
Copy link
Contributor Author

Closing this PR as the league/commonmark package upgrade is included in PR #198.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔒 security Security-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants