CVE-2017-18587
MEDIUM 5.3CVSS 3.0Headers containing newline characters can split messages in hyper
An issue was discovered in the hyper crate before 0.9.18 for Rust. It mishandles newlines in headers.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-93
- Also known as
- GHSA-q89x-f52w-6hj2RUSTSEC-2017-0002
- Sources
- NVDJSONOSV GHSA-q89x-f52w-6hj2JSONOSV RUSTSEC-2017-0002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | RustSec | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hyper | hypercpe:2.3:a:hyper:hyper:*:*:*:*:*:*:*:* |
< 0.9.18 | 0.9.18 |
| NVD | hyper | hypercpe:2.3:a:hyper:hyper:*:*:*:*:*:*:*:* |
>= 0.10.0, < 0.10.2 | 0.10.2 |
| OSV | crates.io | hyper | >= 0.10.0, < 0.10.2 | 0.10.2 |
| OSV | crates.io | hyper | < 0.9.18 | 0.9.18 |
| OSV | crates.io | hyper | >= 0.0.0-0, < 0.9.18; >= 0.10.0, < 0.10.2 | 0.9.18, 0.10.2 |
References
- https://rustsec.org/advisories/RUSTSEC-2017-0002.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2017-18587 · ADVISORY
- https://github.com/hyperium/hyper · PACKAGE
- https://github.com/hyperium/hyper/wiki/Security-001 · WEB
- https://crates.io/crates/hyper · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jan 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)