CVE-2020-35881
JSON

9.8critical

Out of bounds write in traitobject

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.73% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-j79j-cx3h-g27hRUSTSEC-2020-0027

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
traitobject (crates.io)up to 0.1.0, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
traitobject_project traitobjectup to 0.1.0NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

RustSec Advisory Database

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.

NVD (es)

Se detectó un problema en la crate traitobject hasta el 01-06-2020 para Rust. Presenta falsas expectativas sobre los punteros fat, posiblemente causando una corrupción de la memoria, por ejemplo, en Rust versión 2.x.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-35881 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-j79j-cx3h-g27h changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0027 changed 2023-11-08CC0-1.0
NVDCVE-2020-35881 changed 2026-06-17Public domain