Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

servo/rust-url
main @ 828b28c
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/form_urlencoded.rs: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Inconsistencies in host parsing and serialization allow hostnames to mutate during a parse-serialize-parse roundtrip. This enables attackers to craft hosts that bypass domain-based authorization and security controls when parsed by downstream systems.
Memory Safety: The use of performance-oriented unsafe indexing APIs (get_unchecked and get_unchecked_mut) during URL-decoded form parsing creates risks of out-of-bounds memory accesses if internal bounds assumptions are violated.