mittel5.3
CVE-2017-18587
Headers containing newline characters can split messages in hyper
Auswirkung
Serializing of headers to the socket did not filter the values for newline bytes (\r or \n), which allowed for header values to split a request or response. People would not likely include newlines in the headers in their own applications, so the way for most people to exploit this is if an application constructs headers based on unsanitized user input. This issue was fixed by replacing all newline characters with a space during serialization of a header value.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | hyper | >= 0.10.0, < 0.10.2 | 0.10.2 |
Betroffene Produkte · Hyper
| Produkt | Betroffene Versionen |
|---|---|
| Hyper | vor 0.9.18 ab 0.10.0 vor 0.10.2 |