Advisory record · GHSA-hxf5-99xg-86hw

cap-primitives doesn't fully sandbox all the Windows device filenames

CVSS 2.3 LowEPSS 0.0058 · 48th percentile

Published by the GitHub Advisory Database at 5 Nov 2024, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
cap-primitivescrates.io>=0.0.0-0, <3.4.13.4.1
Identifiers
GHSA-hxf5-99xg-86hw · CVE-2024-51756 · RUSTSEC-2024-0445
Weakness (CWE)
CWE-22
Published
5 Nov 2024
Updated
12 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of cap-primitives before 3.4.1 on Windows fail to block device filenames that use superscript digits, such as "COM¹" or "LPT²". An attacker who can supply untrusted filesystem paths can bypass the sandbox and reach serial, parallel, or network-mapped devices such as printers and modems. Upgrade cap-primitives to 3.4.1 or later; no workarounds are listed.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
2.3 Low 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0058, the 48th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:24 UTC First seen by agentprime
  2. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.