{"schemaVersion":3,"id":"CVE-2024-51756","aliases":["CGA-3h3w-87wg-7pqf","CGA-3qc7-3p98-8627","CGA-49fx-r642-rw69","CGA-4w58-3qm4-w669","CGA-4xfg-8jvm-5w7p","CGA-7p5p-fc4p-rrh4","CGA-869w-6m6w-v89v","CGA-8m7f-3wq2-7f3m","CGA-9487-25m5-h9gx","CGA-9mvw-g6cj-p52c","CGA-j8cr-cc24-x3c2","CGA-m4p5-gj6v-g2m5","CGA-mgqx-j7w3-r85h","CGA-qpp9-rx66-45qv","CGA-vgpw-ww44-h8vg","CGA-w3w5-vvrf-3xgr","CGA-xh6f-h9ff-7f5w","CGA-xwm3-8jqh-cqrc","GHSA-hxf5-99xg-86hw","RUSTSEC-2024-0445"],"status":"published","duplicateOf":null,"title":null,"description":"The cap-std project is organized around the eponymous `cap-std` crate, and develops libraries to make it easy to write capability-based code. cap-std's filesystem sandbox implementation on Windows blocks access to special device filenames such as \"COM1\", \"COM2\", \"LPT0\", \"LPT1\", and so on, however it did not block access to the special device filenames which use superscript digits, such as \"COM¹\", \"COM²\", \"LPT⁰\", \"LPT¹\", and so on. Untrusted filesystem paths could bypass the sandbox and access devices through those special device filenames with superscript digits, and through them provide access peripheral devices connected to the computer, or network resources mapped to those devices. This can include modems, printers, network printers, and any other device connected to a serial or parallel port, including emulated USB serial ports. The bug is fixed in #371, which is published in cap-primitives 3.4.1, cap-std 3.4.1, and cap-async-std 3.4.1. There are no known workarounds for this issue. Affected Windows users are recommended to upgrade.","dates":{"published":"2024-11-05T22:06:10.098Z","modified":"2024-11-06T14:39:54.948Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.3,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2.3,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.3,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Crates.io","score":2.3,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00583,"percentile":0.46901,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00583},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00583,"percentile":0.46901}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00583,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00583,"percentile":0.46901}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"chainguard","product":"wash","name":"wash","label":"wash","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wash","purlType":"apk","versions":[{"text":"< 0.36.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.1-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wasmcloud","name":"wasmcloud","label":"wasmcloud","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wasmcloud","purlType":"apk","versions":[{"text":"< 1.4.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wasmtime","purlType":"apk","versions":[{"text":"< 26.0.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.0.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wizer","name":"wizer","label":"wizer","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wizer","purlType":"apk","versions":[{"text":"< 7.0.5-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.5-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zed","name":"zed","label":"zed","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zed","purlType":"apk","versions":[{"text":"< 0.159.10-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.159.10-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij","name":"zellij","label":"zellij","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij-bash-completion","name":"zellij-bash-completion","label":"zellij-bash-completion","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij-bash-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij-fish-completion","name":"zellij-fish-completion","label":"zellij-fish-completion","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij-fish-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij-zsh-completion","name":"zellij-zsh-completion","label":"zellij-zsh-completion","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij-zsh-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wash","name":"wash","label":"wash","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wash","purlType":"apk","versions":[{"text":"< 0.36.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.1-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wasmcloud","name":"wasmcloud","label":"wasmcloud","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wasmcloud","purlType":"apk","versions":[{"text":"< 1.4.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wasmtime","purlType":"apk","versions":[{"text":"< 26.0.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.0.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wizer","name":"wizer","label":"wizer","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wizer","purlType":"apk","versions":[{"text":"< 7.0.5-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.5-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zed","name":"zed","label":"zed","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zed","purlType":"apk","versions":[{"text":"< 0.159.10-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.159.10-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij","name":"zellij","label":"zellij","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij-bash-completion","name":"zellij-bash-completion","label":"zellij-bash-completion","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij-bash-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij-fish-completion","name":"zellij-fish-completion","label":"zellij-fish-completion","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij-fish-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij-zsh-completion","name":"zellij-zsh-completion","label":"zellij-zsh-completion","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij-zsh-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r1","eol":null,"hubHref":null},{"vendor":"bytecodealliance","product":"cap-std","name":"cap-std","label":"cap-std","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.1","eol":null,"hubHref":"/vendor/bytecodealliance/cap-std"},{"vendor":"Crates.Io","product":"cap-async-std","name":"cap-async-std","label":"cap-async-std","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/cap-async-std","purlType":"cargo","versions":[{"text":"< 3.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.1","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"cap-primitives","name":"cap-primitives","label":"cap-primitives","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/cap-primitives","purlType":"cargo","versions":[{"text":"< 3.4.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 3.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.1 | ≥ 0.0.0-0, < 3.4.1","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"cap-std","name":"cap-std","label":"cap-std","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/cap-std","purlType":"cargo","versions":[{"text":"< 3.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.1","eol":null,"hubHref":null}],"affectedCount":22,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bytecodealliance/cap-std/security/advisories/GHSA-hxf5-99xg-86hw","label":"github.com/bytecodealliance/cap-std/security/advisories/GHSA-hxf5-99xg-86hw","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/bytecodealliance/cap-std/pull/371","label":"github.com/bytecodealliance/cap-std/pull/371","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/bytecodealliance/cap-std/commit/dcc3818039761331fbeacbb3a40c542b65b5ebf7","label":"github.com/bytecodealliance/cap-std/commit/dcc3818039761331fbeacbb3a40c542b65b5ebf7","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://en.wikipedia.org/wiki/ISO/IEC_8859-1","label":"en.wikipedia.org/wiki/ISO/IEC_8859-1","hostname":"en.wikipedia.org","tags":["X Refsource MISC","WEB"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions","label":"learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file","hostname":"learn.microsoft.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51756.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51756.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51756","label":"nvd.nist.gov/vuln/detail/CVE-2024-51756","hostname":"nvd.nist.gov","tags":["Advisory","WEB"]},{"url":"https://github.com/bytecodealliance/cap-std","label":"github.com/bytecodealliance/cap-std","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0445.html","label":"rustsec.org/advisories/RUSTSEC-2024-0445.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/cap-primitives","label":"crates.io/crates/cap-primitives","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-929R-P9C9-Q7PP","CGA-9RV4-VCHG-2F24","CGA-FVWG-XRM4-9C75","CGA-H883-WH3Q-67QV","CGA-MR6C-9HP4-WQVF","CGA-Q4C2-88QG-XV7X"]},"timeline":[{"kind":"published","date":"2024-11-05T22:06:10.098Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-06T14:39:54.948Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":9,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:49:18.339Z","stale":false,"partial":false}}