CVE-2020-35881 json
Out of bounds write in traitobject
published 6y ago modified last mo. also GHSA-j79j-cx3h-g27h , RUSTSEC-2020-0027 , EUVD-2021-1769
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
An issue was discovered in the traitobject crate through 2020-06-01 for Rust. It has false expectations about fat pointers, possibly causing memory corruption in, for example, Rust 2.x.
Patch / fix
- aws-efs-utils SLE Module for Public Cloud 15 SP7, SLE Module for Public Cloud 15 SP6, openSUSE Leap 15.6 2.3.3-150600.17.6.1
suse advisories SUSE-SU-2025:3954-1
- aws-efs-utils openSUSE Tumbleweed 2.2.1-1.1
opensuse advisories openSUSE-SU-2025:14951-1
Is CVE-2020-35881 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.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0027.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | traitobject | <=0.1.0 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
rustsec.org
/advisories/RUSTSEC-2020-0027.html
web, exploit, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35881
advisory
-
github.com
/reem/rust-traitobject/issues/7
web, report
-
github.com
/reem/rust-traitobject
package
-
crates.io
/crates/traitobject
package
Sources
- CVE List CVE-2020-35881
- GitHub Advisory GHSA-j79j-cx3h-g27h
- NVD CVE-2020-35881
- OSV RUSTSEC-2020-0027
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.