Skip to content

← Public intelligence

crates.io package

sys-info

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

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

  1. Critical, CVSS 9.8crates.ioPublished

    Double free in sys-info

    CVE-2020-36434 · GHSA-2f5j-3mhq-xv58

    Affected
    • crates.io sys-info < 0.8.0
    Fixed in
    0.8.0· Vendor fix available
    Issue
    Affected versions of sys-info use a static, global, list to store temporary disk information while running. The function that cleans up this list, DFCleanup, assumes a single threaded environment and will try to free the same memory twice in a multithreaded environment. This results in consistent double-frees and segfaults when calling sysinfo::diskinfo from multiple threads at once. The issue was fixed by moving the global variable into a local scope.

    Recommended action: Upgrade to 0.8.0 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 →