Skip to content

← Public intelligence

crates.io package

rust-zserio

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. High, CVSS 7.5crates.ioPublished

    rust-zserio has Unbounded Memory Allocation

    GHSA-fpf5-4jw8-67x8

    Affected
    • crates.io rust-zserio <= 0.5.3
    Fixed in
    0.5.4· Vendor fix available
    Issue
    Impact When deserializing arrays, strings or bytes (blob) types zserio first reads the size of the variable, and then allocates sufficient memory to load data. Since the size is always trusted this can be abused by creating a data file with a large size value, causing the zserio runtime to allocate large amounts of memory. Patches Please cherry-pick 57f5fb. Workarounds - Do not accept zserio-encoded messages from non-trusted sources. - Allocate a maximum heap amount to rust-zerio to avoid impacting other applications.

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