Skip to content
OpenAdvisories

Package · crates.io

http-types

1 known vulnerabilities.

1 result · Feed

  • Unscored —

    `Authorization::value` and `WwwAuthenticate::value` can violate ASCII invariants

    `Authorization::value` uses `HeaderValue::value` with the claim that the internal string is ASCII, but `Authorization::new` and `Authorization::set_credentials` accept arbitrary `String` credentials without validation. As a result, safe code can construct a h…