Description (CNA)
anchorme through 3.0.8 contains a regular expression denial of service vulnerability in the IPv6 host extraction regex due to catastrophic backtracking. Attackers can supply specially crafted input strings with repeated patterns to cause exponential regex engine backtracking, blocking the Node.js event loop and denying service to other requests.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| alexcorvi / anchorme | affected 0 through 3.0.8 |
CWE
CWE-1333
References
- https://gist.github.com/mmadersbacher/46050b4224eb979431986cdef1dd2ad3
- https://github.com/alexcorvi/anchorme.js/blob/f3ae9850baa344f27b46bb149e9b891831d273b1/src/index.ts#L109
- https://www.npmjs.com/package/anchorme
- https://github.com/alexcorvi/anchorme.js
- https://www.vulncheck.com/advisories/anchorme-through-3.0.8-regular-expression-denial-of-service
- https://gist.github.com/R3tro16/92948206e9893a3739b91746439384ab
ADP enrichment
No English description supplied.