GHSA-xr7r-88qv-q7hm

Suggest an improvement
Source
https://github.com/advisories/GHSA-xr7r-88qv-q7hm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-xr7r-88qv-q7hm/GHSA-xr7r-88qv-q7hm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xr7r-88qv-q7hm
Aliases
Published
2021-08-25T20:45:51Z
Modified
2023-11-08T04:01:31.918814Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-787"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:20:43Z"
}
References

Affected packages

crates.io / serde_cbor

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.2