SecurityContext

CVE-2021-25903: Rust Cache - Null Pointer Dereference

  • Cve: CVE-2021-25903
  • Name: Rust Cache - Null Pointer Dereference
  • Description: An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.
  • Impact: Attackers can cause denial of service or execute arbitrary code by triggering unsafe raw pointer dereference.
  • Remediation: Update to the latest version of the cache crate where the issue is fixed.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01414
  • Epss percentile: 0.73432
  • Assignee: [email protected]
  • Published at: 2021-01-26T18:16:22Z
  • Age in days: 2128
  • Modified at: 2026-06-17T03:42:33Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25903
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

Public exploits

UrlSourceAdded date
https://rustsec.org/advisories/RUSTSEC-2021-0006.htmlnvd2021-01-26

References

UrlSourceTags
https://rustsec.org/advisories/RUSTSEC-2021-0006.htmlnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
cache_project:cache<= 0.2.0nonvd/v1/products/cache_project/cache

Projects

RepositoryLink kindsIndexedUrl
krl/cacheissues, packageyes/v1/repositories/krl/cache

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-01-26
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts