Skip to content

← Public intelligence

crates.io package

http

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5crates.ioPublished

    Integer Overflow/Infinite Loop in the http crate

    CVE-2020-25574 · GHSA-x7vr-c387-8w57

    Affected
    • crates.io http < 0.1.20
    Fixed in
    0.1.20· Vendor fix available
    Issue
    HeaderMap::reserve() used usize::nextpoweroftwo() to calculate the increased capacity. However, nextpoweroftwo() silently overflows to 0 if given a sufficiently large number in release mode. If the map was not empty when the overflow happens, the library will invoke self.grow(0) and start infinite probing. This allows an attacker who controls the argument to reserve() to cause a potential denial of service (DoS). The flaw was corrected in 0.1.20 release of http crate.

    Recommended action: Upgrade to 0.1.20 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Critical, CVSS 9.8crates.ioPublished

    Double free in http

    CVE-2019-25009 · GHSA-6rhx-hqxm-8p36

    Affected
    • crates.io http < 0.1.20
    Fixed in
    0.1.20· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 0.1.20 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →