LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45720: An issue was discovered in the lru crate before 0.7.1 for Rust.

An issue was discovered in the lru crate before 0.7.1 for Rust. The iterators have a use-after-free, as demonstrated by an access after a pop operation.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

Rust applications using the lru crate before 0.7.1 may contain a memory-safety flaw. An iterator can keep referencing memory after a cache pop operation, creating undefined behavior. Business impact depends on where the dependency is used and whether attacker-controlled activity can influence cache iteration and mutation.

Executive priority

Treat this as a dependency hygiene issue requiring timely triage, not an emergency based on current evidence. Prioritize internet-facing or critical Rust services first, then standard dependency update workflows.

Technical view

CVE-2021-45720 is a use-after-free in lru crate iterators before version 0.7.1. The public description says access after a pop operation demonstrates the issue. No CVSS score, CWE, affected downstream products, or exploit details are provided in the supplied sources.

Likely exposure

Exposure is limited to Rust projects that directly or transitively depend on lru versions before 0.7.1. Downstream risk is application-specific and cannot be confirmed from the provided sources alone.

Exploitation context

The sources do not report active exploitation, and the CVE is not marked CISA KEV. Public evidence only describes the memory-safety condition; it does not establish real-world exploitation or reliable remote attackability.

Researcher notes

The public record is sparse: no CVSS, CWE, exploit status, or affected downstream product mapping is included. Focus research on dependency reachability, iterator use patterns, and whether cache operations are influenced by untrusted data.

Mitigation direction

  • Inventory Rust projects for lru dependency versions before 0.7.1.
  • Upgrade lru to 0.7.1 or later where compatible.
  • Regenerate lockfiles and rebuild affected Rust applications.
  • Check RustSec and project maintainers for any additional guidance.

Validation and detection

  • Review Cargo.toml and Cargo.lock for lru versions below 0.7.1.
  • Run dependency auditing against the RustSec advisory database.
  • Confirm rebuilt artifacts no longer include vulnerable lru versions.
  • Prioritize validation for services handling untrusted inputs or high availability workloads.
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-45720 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.