Every CVE Search/ Get API key

CVE-2021-25903

Null pointer deference in cache

7.5 High

An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.

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
None
Integrity
None
Availability
High

Exploit likelihood

1.41%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.

Record
CVE-2021-25903
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.

Record
CVE-2021-25903
Updated
2026-11-02
EUVDEUVD-2021-1721 No score

An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.

Record
EUVD-2021-1721
Updated
2026-11-03
GitHub AdvisoriesGHSA-gh87-6jr3-8q47 7.5

Null pointer deference in cache

An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.

Record
GHSA-gh87-6jr3-8q47
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSVGHSA-gh87-6jr3-8q47 7.5

Null pointer deference in cache

An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.

Record
GHSA-gh87-6jr3-8q47
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSVRUSTSEC-2021-0006 7.5

Exposes internally used raw pointer

Affected versions of this crate dereference a raw pointer that can be modified without using unsafe code.

Record
RUSTSEC-2021-0006
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cache
crates.io
through 0.1.0 None known
cache
crates.io
0.0.0-0 and later None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-25903 is a high vulnerability (CVSS 7.5) in Cache Project Cache, published January 1, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. No source names a fixed version.

References

MoveEnter Open