Skip to content

Commit e70f782

Browse files
1 parent 63febe5 commit e70f782

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

advisories/github-reviewed/2024/11/GHSA-hxf5-99xg-86hw/GHSA-hxf5-99xg-86hw.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-hxf5-99xg-86hw",
4-
"modified": "2024-11-06T14:28:24Z",
4+
"modified": "2025-12-20T05:46:02Z",
55
"published": "2024-11-05T22:19:59Z",
66
"aliases": [
77
"CVE-2024-51756"
88
],
99
"summary": "cap-std doesn't fully sandbox all the Windows device filenames",
10-
"details": "### Impact\n\ncap-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.\n\n### Patches\n\nThe bug is fixed in https://github.com/bytecodealliance/cap-std/pull/371, which is published in cap-primitives 3.4.1, cap-std 3.4.1, and cap-async-std 3.4.1.\n\n### Workarounds\n\nThere are no known workarounds for this issue. Affected Windows users are recommended to upgrade.\n\n### References\n\n - [Microsoft's documentation](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions) of the special device filenames\n - [ISO-8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)\n - https://github.com/bytecodealliance/cap-std/pull/371\n",
10+
"details": "### Impact\n\ncap-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.\n\n### Patches\n\nThe bug is fixed in https://github.com/bytecodealliance/cap-std/pull/371, which is published in cap-primitives 3.4.1, cap-std 3.4.1, and cap-async-std 3.4.1.\n\n### Workarounds\n\nThere are no known workarounds for this issue. Affected Windows users are recommended to upgrade.\n\n### References\n\n - [Microsoft's documentation](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions) of the special device filenames\n - [ISO-8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)\n - https://github.com/bytecodealliance/cap-std/pull/371",
1111
"severity": [
1212
{
1313
"type": "CVSS_V4",
@@ -101,6 +101,10 @@
101101
{
102102
"type": "WEB",
103103
"url": "https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions"
104+
},
105+
{
106+
"type": "WEB",
107+
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0445.html"
104108
}
105109
],
106110
"database_specific": {

advisories/github-reviewed/2025/12/GHSA-xrqc-7xgx-c9vh/GHSA-xrqc-7xgx-c9vh.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-xrqc-7xgx-c9vh",
4-
"modified": "2025-12-17T01:05:48Z",
4+
"modified": "2025-12-20T05:44:32Z",
55
"published": "2025-12-09T17:17:22Z",
66
"aliases": [
77
"CVE-2025-66626"
@@ -102,6 +102,7 @@
102102
"database_specific": {
103103
"cwe_ids": [
104104
"CWE-23",
105+
"CWE-59",
105106
"CWE-78"
106107
],
107108
"severity": "HIGH",

0 commit comments

Comments
 (0)