CVE-2020-35881
Out of bounds write in traitobject
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2020-35881- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-35881- Updated
- 2026-11-02
EUVDEUVD-2021-1769 No score
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.
- Record
EUVD-2021-1769- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j79j-cx3h-g27h
9.8
Out of bounds write in traitobject
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.
- Record
GHSA-j79j-cx3h-g27h- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVGHSA-j79j-cx3h-g27h
9.8
Out of bounds write in traitobject
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.
- Record
GHSA-j79j-cx3h-g27h- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVRUSTSEC-2020-0027
9.8
traitobject assumes the layout of fat pointers
This crate gets the data pointer from fat pointers assuming that the first element in a fat pointer is the data pointer. This is currently true, but it may change in a future Rust version, leading to memory corruption.
This has been fixed in the master branch of the crate, but is has not been released into crates.io.
- Record
RUSTSEC-2020-0027- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14951-1 No score
aws-efs-utils-2.2.1-1.1 on GA media
These are all security issues fixed in the aws-efs-utils-2.2.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14951-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:3954-1 No score
Security update for aws-efs-utils
This update for aws-efs-utils fixes the following issues:
Update to version 2.3.3 (bsc#1240044).
Security issues fixed:
- CVE-2025-55159: slab: incorrect bounds check in
get_disjoint_mutfunction can lead to potential crash due to out-of-bounds access (bsc#1248055). - CVE-2020-35881: traitobject: log4rs: out-of-bounds write due to fat pointer layout assumptions (bsc#1249851).
Other issues fixed:
-
Build and install efs-proxy binary (bsc#1240044).
-
Fixed in version 2.3.3:
- Add environment variable support for AWS profiles and regions
- Regenerate Cargo.lock with rust 1.70.0
- Update circle-ci config
- Fix AWS Env Variable Test and Code Style Issue
- Remove CentOS 8 and Ubuntu 16.04 from verified Linux distribution list
-
Fixed in version 2.3.2:
- Update version in amazon-efs-utils.spec to 2.3.1
- Fix incorrect package version
-
Fixed in version 2.3.1:
- Fix backtrace version to resolve ubuntu and rhel build issues
- Pin Cargo.lock to avoid unexpected error across images
-
Fixed in version 2.3.0:
- Add support for pod-identity credentials in the credentials chain
- Enable mounting with IPv6 when using with the 'stunnel' mount option
-
Fixed in version 2.2.1:
- Update log4rs
-
Fixed in version 2.2.0
- Use region-specific domain suffixes for dns endpoints where missing
- Merge PR #211 - Amend Debian control to use binary architecture
-
Fixed in version 2.1.0
- Add mount option for specifying region
- Add new ISO regions to config file
-
Fixed in version 2.0.4
- Add retry logic to and increase timeout for EC2 metadata token retrieval requests
-
Fixed in version 2.0.3:
- Upgrade py version
- Replace deprecated usage of datetime
-
Fixed in version 2.0.2
- Check for efs-proxy PIDs when cleaning tunnel state files
- Add PID to log entries
-
Fxied in version 2.0.1
- Disable Nagle's algorithm for efs-proxy TLS mounts to improve latencies
-
Fixed in version 2.0.0:
- Replace stunnel, which provides TLS encryptions for mounts, with efs-proxy, a component built in-house at AWS. Efs-proxy lays the foundation for upcoming feature launches at EFS.
-
Fixed in version 1.36.0:
- Support new mount option: crossaccount, conduct cross account mounts via ip address. Use client AZ-ID to choose mount target.
-
Fixed in version 1.35.2:
- Revert 'Add warning if using older Version'
- Support MacOS Sonoma
-
Fixed in version 1.35.1:
- Revert openssl requirement change
- Revert 'Update EFS Documentation: Clarify Current FIPS Compliance Status'
- Update EFS Documentation: Clarify Current FIPS Compliance Status
- test: Change repo urls in eol debian9 build
- Check private key file size to skip generation
- test: Fix pytest that failed since commit 3dd89ca
- Fix should_check_efs_utils_version scope
- Add warning if using old version
- Add 'fsap' option as EFS-only option
-
Fixed in version 1.35.0:
- Add parameters to allow mount fo pod impersonation feature in EFS CSI Driver
- Updated the README with support of Oracle8 distribution
- Readme troubleshooting section + table of contents
- Add efs-utils Support for MacOS Ventura EC2 instances
- Record
SUSE-SU-2025:3954-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
traitobjectcrates.io |
through 0.1.0 | None known |
traitobjectcrates.io |
0.0.0-0 and later | None known |
aws-efs-utilsSUSE:Linux Enterprise Module for Public Cloud 15 SP6 From an advisory covering 2 CVEs |
before 2.3.3-150600.17.6.1 | 2.3.3-150600.17.6.1 |
aws-efs-utilsSUSE:Linux Enterprise Module for Public Cloud 15 SP7 From an advisory covering 2 CVEs |
before 2.3.3-150600.17.6.1 | 2.3.3-150600.17.6.1 |
aws-efs-utilsopenSUSE:Leap 15.6 From an advisory covering 2 CVEs |
before 2.3.3-150600.17.6.1 | 2.3.3-150600.17.6.1 |
aws-efs-utilsopenSUSE:Tumbleweed |
before 2.2.1-1.1 | 2.2.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-35881 is a critical vulnerability (CVSS 9.8) in Traitobject Project Traitobject, published June 1, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.73%, the 77th percentile. Fixed in aws-efs-utils 2.2.1-1.1.
References
rustsec.org/advisories/RUSTSEC-2020-0027.html
nvd.nist.gov/vuln/detail/CVE-2020-35881
github.com/reem/rust-traitobject/issues/7
github.com/advisories/GHSA-j79j-cx3h-g27h
github.com/reem/rust-traitobject
crates.io/crates/traitobject