Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add advisory for hyperium/http/issues/354,355 #218

Merged
merged 2 commits into from
Jan 9, 2020
Merged

Conversation

Qwaz
Copy link
Contributor

@Qwaz Qwaz commented Jan 9, 2020

Affected versions of this crate incorrectly used raw pointer, which introduced unsoundness in its public safe API.

Failing to drop the Drain struct causes double-free, and it is possible to violate Rust's alias rule and cause data race with Drain's Iterator implementation.

The flaw was corrected in 0.2.0 release of http crate.

@tarcieri tarcieri merged commit 2aad27e into rustsec:master Jan 9, 2020
tarcieri added a commit that referenced this pull request Jan 9, 2020
@roy-work
Copy link
Contributor

roy-work commented Jan 9, 2020

For both of the linked issues, the commit that purports to fix the issue is tagged with 0.1.20 and 0.1.21; is it not correct that this flaw was corrected in the 0.1.20 release of http?

(Moving it to 0.2.0 means a semver breaking change for those of us upgrading.)

@Qwaz
Copy link
Contributor Author

Qwaz commented Jan 9, 2020

I saw the new PR and it looked good. Thank you for correcting this.

@Qwaz Qwaz deleted the http2 branch June 27, 2020 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants