Description
tarteaucitron.js before 1.37.0 contains a regular expression denial of service vulnerability that allows attackers to block visitor pages by supplying unescaped cookie names to cookie.purge. Attackers can plant a cookie from a sibling subdomain or inject a purgeBtn element with a catastrophic-backtracking data-cookie pattern that freezes the page when the purge button is clicked.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AmauriC | tarteaucitron.js | < 1.37.0 | 1.37.0 |
References
- https://github.com/AmauriC/tarteaucitron.js/commit/60faaba5fd541cad770549d422fc4ac7de657e56 patch
- tarteaucitron.js v1.37.0 Release Notes release-notes
- https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2169-L2175 technical-description
- VulnCheck Advisory: tarteaucitron.js before 1.37.0 ReDoS via Unescaped Cookie Name in cookie.purge third-party-advisory