Skip to content

← Public intelligence

crates.io package

rgb

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.1crates.ioPublished

    Out of bounds access in rgb

    CVE-2020-25016 · GHSA-g4rw-8m5q-6453

    Affected
    • crates.io rgb >= 0.5.4, < 0.8.20
    Fixed in
    0.8.20· Vendor fix available
    Issue
    Affected versions of rgb crate allow viewing and modifying data of any type T wrapped in RGB<T as bytes, and do not correctly constrain RGB<T and other wrapper structures to the types for which it is safe to do so. Safety violation possible for a type wrapped in RGB<T and similar wrapper structures: If T contains padding, viewing it as bytes may lead to exposure of contents of uninitialized memory. If T contains a pointer, modifying it as bytes may lead to dereferencing of arbitrary pointers. Any safety and/or validity invariants for T may be violated. The issue was resolved by requiring all types wrapped in structures provided by RGB crate to implement an unsafe marker trait.

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