Vulnerability Details : CVE-2020-25016
Potential exploit
A safety violation was discovered in the rgb crate before 0.8.20 for Rust, leading to (for example) dereferencing of arbitrary pointers or disclosure of uninitialized memory. This occurs because structs can be treated as bytes for read and write operations.
Vulnerability category: Overflow
Products affected by CVE-2020-25016
- cpe:2.3:a:rgb-rust_project:rgb-rust:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-25016
0.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-25016
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.4
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:P/A:N |
10.0
|
4.9
|
NIST | |
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
3.9
|
5.2
|
NIST |
CWE ids for CVE-2020-25016
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: nvd@nist.gov (Primary)
-
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-25016
-
https://rustsec.org/advisories/RUSTSEC-2020-0029.html
Vendor Advisory
-
https://github.com/kornelski/rust-rgb/issues/35
ComponentBytes is unsound · Issue #35 · kornelski/rust-rgb · GitHubExploit;Third Party Advisory
Jump to