Security mailing lists by PureSourceCode

GHSA-f67m-9j94-qv9j

HIGH

Parser creates invalid uninitialized value

Affected versions of this crate called mem::uninitialized() in the HTTP1 parser to create values of type httparse::Header (from the httparse crate).
This is unsound, since Header contains references and thus must be non-null.

The flaw was corrected by avoiding the use of mem::uninitialized(), using MaybeUninit instead.

Published
10 May 2022
Last modified
10 Sep 2026
Also known as
RUSTSEC-2022-0022
Sources
OSVJSONOSV RUSTSEC-2022-0022JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io hyper < 0.14.12 0.14.12
OSV crates.io hyper >= 0.0.0-0, < 0.14.12 0.14.12

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.