Description (CNA)
commonmark versions from 1.5.0 before 2.8.4 contain a denial of service vulnerability in the Attributes extension where AttributesListener::findTargetAndDirection() performs quadratic-time sibling list scanning. Unauthenticated attackers can submit approximately 32 KB of repeated attribute blocks to cause parsing to take over 5 seconds, exhausting server resources.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thephpleague / commonmark | affected 1.5.0 before 2.8.4; unaffected 2.8.4 |
CWE
CWE-407
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-g2gp-3wwq-f4ph
- https://www.vulncheck.com/advisories/commonmark-1.5.0-before-2.8.4-denial-of-service-via-attributes
ADP enrichment
No English description supplied.
No references supplied.