LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45705: An issue was discovered in the nanorand crate before 0.6.1 for Rust.

An issue was discovered in the nanorand crate before 0.6.1 for Rust. There can be multiple mutable references to the same object because the TlsWyRand Deref implementation dereferences a raw pointer.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This CVE affects Rust projects using the nanorand crate before 0.6.1. A thread-local random generator implementation could create multiple mutable references to the same object, breaking Rust’s safety guarantees. The business urgency depends on whether vulnerable versions are present in production dependency trees.

Executive priority

Prioritize inventory and routine remediation for Rust services. Escalate only if vulnerable nanorand versions are found in security-sensitive or internet-facing production workloads.

Technical view

The issue is in nanorand’s TlsWyRand Deref implementation, which dereferences a raw pointer and can produce aliasing mutable references. Sources do not provide CVSS, CWE, affected downstream products, or exploit evidence. The stated affected range is nanorand before 0.6.1.

Likely exposure

Exposure is likely limited to Rust applications or libraries that directly or transitively depend on nanorand versions before 0.6.1. The CVE data does not identify specific products, services, or deployment patterns.

Exploitation context

The provided sources do not report active exploitation, public exploit use, or CISA KEV listing. Treat this as a dependency safety issue requiring inventory and upgrade validation, not as confirmed exploited-in-the-wild activity.

Researcher notes

Evidence is sparse: no CVSS, CWE, exploit status, or downstream product list is provided. The key technical issue is Rust unsoundness from raw-pointer dereferencing in TlsWyRand’s Deref implementation, fixed by the pre-0.6.1 affected boundary.

Mitigation direction

  • Identify direct and transitive nanorand dependencies in Rust projects.
  • Upgrade nanorand to version 0.6.1 or later where present.
  • Review RustSec guidance before accepting any alternative mitigation.
  • Rebuild and redeploy affected applications after dependency updates.

Validation and detection

  • Check dependency manifests and lockfiles for nanorand below 0.6.1.
  • Confirm dependency resolution no longer selects vulnerable nanorand versions.
  • Run the project’s unit and integration tests after upgrading.
  • Document any remaining vulnerable transitive dependency and its owner.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-45705 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.