Advisory

GHSA-xr7r-88qv-q7hm

Also known as: CVE-2019-25001, RUSTSEC-2019-0025

Summary

Out of bounds write in serde_cbor

Details

Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization. This allows an attacker to craft small (< 1 kB) CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:45 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

serde_cbor

crates.io · All systems

Affected

  • introduced 0, fixed 0.10.2 (semver)

Fixed versions

0.10.2

Fix

  • Fixed version 0.10.2
    cargo update -p serde_cbor --precise 0.10.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences