Skip to content

← Public intelligence

crates.io package

metrics-util

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. Unratedcrates.ioPublished

    AtomicBucket unconditionally implements Send/Sync

    GHSA-3hxh-7jxm-59x4

    Affected
    • crates.io metrics-util < 0.7.0
    Fixed in
    0.7.0· Vendor fix available
    Issue
    In the affected versions of the crate, AtomicBucket<T unconditionally implements Send/Sync traits. Therefore, users can create a data race to the inner T: !Sync by using the AtomicBucket::datawith() API. Such data races can potentially cause memory corruption or other undefined behavior. The flaw was fixed in commit 8e6daab by adding appropriate Send/Sync bounds to the Send/Sync impl of struct Block<T (which is a data type contained inside AtomicBucket<T).

    Recommended action: Upgrade to 0.7.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 →
  2. High, CVSS 8.1crates.ioPublished

    Out-of-bounds Write and Race Condition in metrics-util

    CVE-2021-45704 · GHSA-cwvc-87xq-pc5m

    Affected
    • crates.io metrics-util < 0.7.0
    Fixed in
    0.7.0· Vendor fix available
    Issue
    In the affected versions of the crate, AtomicBucket<T unconditionally implements Send/Sync traits. Therefore, users can create a data race to the inner T: !Sync by using the AtomicBucket::datawith() API. Such data races can potentially cause memory corruption or other undefined behavior. The flaw was fixed in commit 8e6daab by adding appropriate Send/Sync bounds to the Send/Sync impl of struct Block<T (which is a data type contained inside AtomicBucket<T).

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