LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45712: An issue was discovered in the rust-embed crate before 6.3.0 for Rust.

An issue was discovered in the rust-embed crate before 6.3.0 for Rust. A ../ directory traversal can sometimes occur in debug mode.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-45712 affects the Rust rust-embed crate before 6.3.0. In debug mode, a directory traversal issue can sometimes allow access outside the intended embedded file path. Business risk depends on whether affected debug builds or tooling are reachable by untrusted users.

Executive priority

Prioritize if Rust services using rust-embed are internet-facing or debug-mode deployments exist. Otherwise, handle through normal dependency remediation because public severity and exploitation evidence are incomplete.

Technical view

The issue is a path traversal weakness in rust-embed before 6.3.0, limited by the advisory text to debug mode. The public bundle does not provide CVSS, CWE, exploit details, or affected downstream applications. Treat exposure as dependency- and build-configuration-specific.

Likely exposure

Exposure is most likely in Rust applications or developer tools that depend on rust-embed before 6.3.0 and run debug-mode behavior where untrusted path input reaches embedded asset lookup.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. It only states that ../ directory traversal can sometimes occur in debug mode, without public exploit status or operational detail.

Researcher notes

The key uncertainty is scope: the advisory names debug mode and rust-embed before 6.3.0, but provides no CVSS, CWE, exploit status, or downstream product list in the supplied bundle.

Mitigation direction

  • Upgrade rust-embed to version 6.3.0 or later where feasible.
  • Check vendor and RustSec guidance before relying on compensating controls.
  • Avoid exposing debug-mode builds or developer tooling to untrusted users.
  • Restrict user-controlled file or asset paths reaching rust-embed lookups.

Validation and detection

  • Review Cargo.lock and dependency manifests for rust-embed versions below 6.3.0.
  • Identify whether production, staging, or tools run with debug-mode behavior enabled.
  • Trace routes or handlers that pass user-controlled paths into embedded asset access.
  • Confirm updated builds resolve rust-embed to 6.3.0 or later.
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.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-45712 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.