Description
An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-http | 0.1.21-0.1 | — |
| Debian 13 | rust-http | 0.1.21-0.1 | — |
| Debian 12 | rust-http | 0.1.21-0.1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-http | No fix yet | — |
| Ubuntu 26.04 LTS | rust-http | No fix yet | — |
| Ubuntu 25.10 | rust-http | No fix yet | — |
| Ubuntu 24.04 LTS | rust-http | No fix yet | — |
| Ubuntu 20.04 LTS | rust-http | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | zed | 0.146.3-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | http | < 0.1.20 | 0.1.20 | GHSA-6rhx-hqxm-8p36 |
| crates.io | http | >= 0.0.0-0, < 0.1.20 | 0.1.20 | RUSTSEC-2019-0034 |