GHSA-6rhx-hqxm-8p36

Suggest an improvement
Source
https://github.com/advisories/GHSA-6rhx-hqxm-8p36
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6rhx-hqxm-8p36/GHSA-6rhx-hqxm-8p36.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6rhx-hqxm-8p36
Aliases
Related
Published
2021-08-25T20:46:44Z
Modified
2023-11-08T04:01:32.355317Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Double free in http
Details

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.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2021-08-19T21:19:45Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-415"
    ]
}
References

Affected packages

crates.io / http

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.20

Ecosystem specific

{
    "affected_functions": [
        "http::header::HeaderMap::drain"
    ]
}