Skip to content

← Public intelligence

crates.io package

etherparse

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. Medium, CVSS 6.5crates.ioPublished

    Out-of-bounds read when iterating over IPv6 extension headers of laxly parsed packets

    GHSA-mmwx-cp2j-wjh2

    Affected
    • crates.io etherparse >= 0.14.0, < 0.14.4; >= 0.15.0-0, < 0.15.1; >= 0.16.0-0, < 0.16.1; >= 0.17.0-0, < 0.17.1; >= 0.18.0-0, < 0.18.3; >= 0.19.0-0, < 0.19.1; >= 0.20.0-0, < 0.20.4; >= 0.21.0-0, < 0.21.1
    Fixed in
    0.15.10.17.10.19.10.14.40.20.40.21.10.16.10.18.3· Vendor fix available
    Issue
    Iterating over malformed or truncated IPv6 extension headers can cause out-of-bounds reads when the packet was parsed using one of the lax parsing functions (e.g. via `Ipv6ExtensionsSlice::from_slice_lax` or `LaxSlicedPacket`). Lax parsing stops at the first invalid or truncated extension header and returns the headers parsed up to that point. The "next header" field of the last returned header can then refer to a header that is not part of the slice. `Ipv6ExtensionSliceIter` followed it without checking the remaining length. A crafted or truncated IPv6 packet can cause a crash or expose memory located behind the packet to the application. Users who do not iterate over the IPv6 extension headers of laxly parsed packets are not affected. As a workaround, do not iterate over the IPv6 extension headers if lax parsing reported an error.

    Recommended action: Upgrade to 0.21.1, 0.20.4, 0.19.1 or 5 more by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →