CVE-2019-25001 json
Out of bounds write in serde_cbor
published 7y ago modified 4mo ago also GHSA-xr7r-88qv-q7hm , RUSTSEC-2019-0025 , EUVD-2021-1940
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.
Patch / fix
- crates.io serde_cbor 0.10.2
- serde_cbor_project serde_cbor 0.10.2
- github.com/pyfisch/cbor@1aec4f9 commit
- github.com/pyfisch/cbor#153 pull request
- github.com/pyfisch/cbor/releases/tag/v0.10.2 release
Is CVE-2019-25001 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2019-0025.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | serde_cbor | <0.10.2 >=0.0.0-0, <0.10.2 |
0.10.2 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/pyfisch/cbor/pull/153
web
-
github.com
/pyfisch/cbor/commit/1aec4f9d71855dbfb223fa61ca60260400cc5d5f
web
-
rustsec.org
/advisories/RUSTSEC-2019-0025.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-25001
advisory
-
github.com
/pyfisch/cbor
package
-
github.com
/pyfisch/cbor/releases/tag/v0.10.2
web
-
crates.io
/crates/serde_cbor
package
Sources
- CVE List CVE-2019-25001
- GitHub Advisory GHSA-xr7r-88qv-q7hm
- NVD CVE-2019-25001
- OSV RUSTSEC-2019-0025
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.