The urlnorm crate through 0.1.4 for Rust allows Regular Expression Denial of Service (ReDos) via a crafted URL to lib.rs. NOTE: the Supplier disputes this, taking the position that "Slow printing of URLs is not a CVE."
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Link | Tags |
---|---|
https://github.com/progscrape/urlnorm | product |
https://lib.rs/crates/urlnorm | product |
https://gist.github.com/6en6ar/b118888dc739e8979038f24c8ac33611 | third party advisory exploit |
https://news.ycombinator.com/item?id=40435263 |