Skip to content

← Public intelligence

crates.io package

toodee

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

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

  1. High, CVSS 8.8crates.ioPublished

    toodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor

    GHSA-pfp7-vxgr-83pw

    Affected
    • crates.io toodee >= 0.2.0, < 0.6.0
    Fixed in
    0.6.0· Vendor fix available
    Issue
    An off-by-one error in the DrainCol::drop destructor could cause an unsafe memory copy operation to exceed the bounds of the associated vector. The error was related to the size of the data being copied in one of the ptr::copy invocations inside the destructor. When removing the first column from a TooDee object, the DrainCol return object could cause a heap buffer overflow vulnerability when it is dropped. The issue was fixed in commit e6e16d5 by reducing the copied size by one.

    Recommended action: Upgrade to 0.6.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 7.5crates.ioPublished

    Uninitialized memory access in toodee

    CVE-2021-28029 · GHSA-xm9m-2vj8-fmfr

    Affected
    • crates.io toodee < 0.3.0
    Fixed in
    0.3.0· Vendor fix available
    Issue
    An issue was discovered in the toodee crate before 0.3.0 for Rust. The row-insertion feature allows attackers to read the contents of uninitialized memory locations.

    Recommended action: Upgrade to 0.3.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 →
  3. Critical, CVSS 9.8crates.ioPublished

    Double free in toodee

    CVE-2021-28028 · GHSA-wcvp-r8j8-47pc

    Affected
    • crates.io toodee < 0.3.0
    Fixed in
    0.3.0· Vendor fix available
    Issue
    When inserting rows from an iterator at a particular index, toodee would shift items over, duplicating their ownership. The space reserved for the new elements was based on the len() returned by the ExactSizeIterator. This could result in elements in the array being freed twice if the iterator panics. Uninitialized or previously freed elements could also be exposed if the len() didn't match the number of elements. These issues were fixed in commit ced70c17 by temporarily setting the length of the array smaller while processing it and adding assertions on the number of elements returned by the iterator.

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