SQLite 漏洞与安全更新

40 条

12月5日周六昨天

  • 低危07:44漏洞公告SQLitePythonGitHub Advisory Database

    filelock: ReadWriteLock can delete a private file from a leftover SQLite journal

    受影响: pip:filelock < 4.3.0 → 4.3.0 A ReadWriteLock database can retain an untrusted SQLite journal after its directory changes from shared to private. Opening the database can delete an unrelated file that the locking account has permission to read and remove. Changing directory permissions does not remove existing journals. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. When SQLite side files are present, the lock opens the database through a private hard link. [PR #976](…

  • 低危07:40漏洞公告SQLitePythonGitHub Advisory Database

    filelock: ReadWriteLock write holds overlap on read-only SQLite header

    受影响: pip:filelock < 4.3.0 → 4.3.0 Two ReadWriteLock callers can both acquire a write lock if the shared SQLite database advertises a write format that SQLite treats as read-only. Another account needs write access to the lock database. Affected versions and fix The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The lock rejects an unsupported SQLite write format before granting a hold. [PR #979](https://github.com/tox-dev/filelock/pull/979) Workaround Restrict write access to the lock database and its…

12月3日周四

  • USN-9259-2: SQLite vulnerabilities

    USN-9259-1 fixed vulnerabilities in SQLite. This update provides the corresponding updates for Ubuntu 24.04 LTS. Original advisory details: It was discovered that SQLite did not count common table expressions against the expression depth limit. An attacker could possibly use this issue to cause SQLite to crash, resulting in a denial of service. (CVE-2026-119371) It was discovered that SQLite incorrectly handled certain full-text search queries that used the snippet() function in the FTS3 and FTS4 extensions, leading to a use-after-free. An attacker could possibly use this issue to cause SQLit…

12月2日周三

  • Seqora: a desktop client for PostgreSQL, with a free EXPLAIN visualizer

    Seqora is a new desktop client for PostgreSQL, for Windows, macOS 12 or later and Linux. It also connects to MySQL, MariaDB, SQLite and SQL Server, with fewer features on those. Alongside the client there is a free web page, https://seqora.dev/explain/ , that draws a pasted EXPLAIN ANALYZE plan in JSON or text format. Row counts are multiplied over loops, so each band is as wide as the rows that crossed it, and an estimate off by more than 2x is drawn beside the actual. The plan is parsed in the browser and not uploaded, and a share link carries it in the URL fragment. The page draws one plan…

11月20日周五

11月19日周四

11月16日周一

11月14日周六

  • 中危03:57漏洞公告SQLiteRubyGitHub Advisory Database

    sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger

    受影响: rubygems:sqlite3 <= 2.10.1 → 2.10.2 sqlite3-ruby cast Ruby string lengths (long) to int before passing them to SQLite. On 64-bit platforms, a string of 4 GiB (2^32 bytes) or larger had its length wrap, so SQLite saw only the first length mod 2^32 bytes. An attacker who controls the length of a SQL string could truncate the query, for example dropping a trailing WHERE clause. The affected paths are: - the SQL passed to Database#prepare, #execute, and related methods - String and Blob values passed to Statement#bind_param and relat…

11月13日周五

11月11日周三

  • Active Storage: Possible DoS vulnerability in Active Storage filename handling

    受影响: rubygems:activestorage >= 8.1.0.beta1, < 8.1.4.1 → 8.1.4.1, rubygems:activestorage < 8.0.5.2 → 8.0.5.2 ActiveStorage::Filename#base and #extension_with_delimiter, and therefore #extension, pass the stored filename unmodified to File.basename and File.extname, which raise ArgumentError when the name contains a NUL byte. Active Storage stores the client-supplied filename verbatim, so a user who is permitted to upload an attachment could persist such a filename on databases that accept NUL bytes in string columns, such as SQLite and MySQL/MariaDB. Each subsequent request that builds a variant or pr…

  • Nuxt Content: Unauthenticated SQLite Function DoS via Content Query API

    受影响: npm:@nuxt/content >= 3.0.0, < 3.15.2 → 3.15.2 The POST /__nuxt_content/:collection/query endpoint in @nuxt/content accepts an attacker-controlled sql field from the HTTP request body and executes it against a local SQLite database after passing it through an insufficient validator (assertSafeQuery). The validator only blocks a small set of SQL command keywords and does not reject expensive SQLite built-in functions such as randomblob(), zeroblob(), hex(), or length(). An unauthenticated remote attacker can craft a single request that force…

10月31日周六

  • 中危07:53漏洞公告SQLitePHPGitHub Advisory Database

    AdminNeo SQLite: multi_query Incorrect Check of Function Return Value RCE

    受影响: composer:adminneo-org/adminneo < 5.5.1 → 5.5.1 This vulnerability is a patch bypass that exploits catastrophic backtracking in a regular expression used to filter ATTACH statements in AdminNeo's SQLite functionality. The original vulnerability (CVE-2021-43008) allowed authenticated users to create PHP files through SQLite ATTACH statements, achieving remote code execution. The patch introduced a regex filter to block ATTACH queries, but this filter is vulnerable to catastrophic backtracking. Originally reported by @zdi-disclosures in Admine…

  • 高危07:52漏洞公告SQLiteGitHubPHPGitHub Advisory Database

    AdminNeo SQLite Database-List Drop Arbitrary File Deletion

    受影响: composer:adminneo-org/adminneo < 5.5.1 → 5.5.1 AdminNeo allows an authenticated SQLite-mode user to delete arbitrary files writable by the PHP process through the database-list drop action. The SQLite driver validates file extensions when creating or renaming databases, but the database-list drop path passes submitted db[] values directly to unlink(). Originally reported by @slpoiuewalspoid-dotcom in Adminer: https://github.com/vrana/adminer/security/advisories/GHSA-6pg3-chwq-wgqc Impact An authenticated AdminNeo SQLite user with a valid CS…

  • 高危07:51漏洞公告SQLiteGitHubPHPGitHub Advisory Database

    AdminNeo: RCE via SQLite VACUUM INTO (ATTACH Blocklist Bypass)

    受影响: composer:adminneo-org/adminneo < 5.5.1 → 5.5.1 Adminer blocks ATTACH queries for SQLite to prevent arbitrary file creation. However, VACUUM INTO is not blocked and achieves the same result: writing a database file containing attacker-controlled PHP code to any path with any extension. An authenticated SQLite user can write a web shell to the web root and execute commands. Originally reported in Adminer: [GHSA-q4f2-39gr-45jh](https://github.com/vrana/adminer/security/advisories/GHSA-gmx3-g29w-77wf) Root Cause sql.inc.php, line 146: php if (D…

10月29日周四

  • 中危06:08漏洞公告SQLitePythonGitHub Advisory Database

    filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout

    受影响: pip:filelock >= 3.20.4, <= 4.2.0 → 4.2.1 ReadWriteLock and AsyncReadWriteLock (the SQLite-backed reader/writer lock) run PRAGMA journal_mode=MEMORY on a fresh connection for every acquire. That statement makes SQLite load the whole schema (the sqlite_master table, which lists every table and index with its CREATE text) of whatever file sits at the lock path. The caller's timeout reaches SQLite only as busy_timeout, which bounds waits for another connection's lock, not schema loading. The only content checks reject non-regular files an…

  • 中危06:08漏洞公告SQLitePythonGitHub Advisory Database

    filelock: ReadWriteLock follows a symlink at the lock path into SQLite

    受影响: pip:filelock >= 3.20.4, <= 4.0.8 → 4.0.9 ReadWriteLock and AsyncReadWriteLock resolve the lock path with pathlib.Path.resolve() and pass it to sqlite3.connect() without refusing a symlink. A local user who can create names in the lock's directory, such as /tmp or a shared cache, can plant a symlink at the lock path and make the victim's process create, lock, or write the file it points to, or break mutual exclusion between the victim's own processes. Details ReadWriteLock.__init__ stores pathlib.Path(lock_file).resolve(), which follow…

10月24日周六

10月23日周五

10月22日周四

  • Bun v1.4.4

    Fixes 271 issues, addressing 544 👍. bun fmt, a Prettier-compatible formatter built into Bun that is 3x to 6x faster than oxfmt, bun check is 1.4x to 7.8x faster on large projects, bun install migrates Yarn Berry lockfiles, retries with exponential backoff and closes 133 issues, up to 3.2x faster hoisted installs from a warm cache on Linux, bun pm fetch, bun publish --recursive, packageExtensions, Bun.SQL uses up to 48% less CPU per query, query.cancel(), COPY streams, column name transforms, user-defined functions and update hooks in bun:sqlite, ws rewritten to behave like npm ws on Node.js,…

10月21日周三

10月16日周五

10月1日周四

1月13日周二

  • Bun v1.3.6

    Fixes 45 issues (addressing 125 👍). Bun.Archive API for creating & extracting tarballs with gzip compression, Bun.JSONC for parsing JSON with comments, metafile & files options in Bun.build for bundle analysis and virtual files, Response.json() 3.5x faster, 15% faster async/await, 30% faster Promise.race, 20x faster Bun.hash.crc32, faster Buffer.indexOf/includes with SIMD, HTTP/HTTPS proxy support for WebSocket, S3 Requester Pays support, --grep flag for bun test, fake timers now work with @testing-library/react, SQLite updated to 3.51.2, and numerous Node.js compatibility improvements.

12月6日周六

  • Bun v1.3.4

    Fixes 194 issues (addressing 412 👍). URLPattern API, Fake Timers for bun:test, Custom Proxy Headers in fetch(),console.log %j format, http.Agent connection pooling fix, Standalone executable config loading changes, SQLite 3.51.1, and numerous bugfixes for bun:test, Node.js compatibility, Windows, Web APIs, bun install, and more

11月21日周五

  • Bun v1.3.3

    Fixes 95 issues (addressing 348 👍). CompressionStream and DecompressionStream, Control .env and bunfig.toml loading in standalone executables, `retry` and `repeats` in `bun:test`, --no-env-file, SQLite 3.51.0, Upgraded to Zig 0.15.2, Bugfixes for bundler, bun install, Windows, Node.js compatibility, Web APIs, Bun.serve, networking, Bun.YAML, Bun.Transpiler, Bun.spawn & TypeScript definitions

8月26日周二

  • Bun v1.2.21

    Fixes 69 issues (addressing 204 👍). Bun.SQL now supports MySQL and SQLite, alongside PostgreSQL. Native YAML support. 500x faster postMessage(string). Bun.build() compile API, with cross-platform targets. Reduced idle CPU usage. Bun.stripANSI for SIMD-accelerated ANSI escape removal. bunx --package flag support. customizable User-Agent headers. Windows executable metadata embedding. and extensive Node.js compatibility improvements

6月22日周日

  • Bun v1.2.17

    Fixes 50 issues (addressing 80 👍), and adds +24 passing Node.js tests. Ahead-of-time bundling for HTML imports, more reliable Bun Shell, `setTimeout` and `setImmediate` use 8-15% less memory, `columnTypes` & `declaredTypes` in `bun:sqlite`, `bun info` is the new `bun pm view`, Node.js compatibility improvements to `child_process.fork`, `fs.glob` options are now optional, `tls.getCACertificates()` is now implemented, `bun init` generates `CLAUDE.md` when claude code is installed, and more.

2月19日周三

11月29日周五

  • Bun v1.1.38

    Fixes 7 bugs (addressing 14 👍). Fixes debugger bug causing Bun to hang in VSCode terminal. Fixes crash in `postgres` npm package. Fixes TypeScript minification bug, console.log improvements, updated SQLite and c-ares. Adds `reusePort` option to `Bun.listen` and `node:net`, and fixes a bug in `Bun.FileSystemRouter.reload()`. Fixes rare crash in `fetch()`. Fixes assertion failure when re-assigning global modules in `--print` or `--eval`

10月18日周五

  • Bun v1.1.31

    Fixes 41 bugs (addressing 595 👍). node:http2 server and gRPC server support, ca and cafile support in bun install, Bun.inspect.table, bun build --drop, iterable SQLite queries, iterator helpers, Promise.try, Buffer.copyBytesFrom, and several Node.js compatibility improvements and bugfixes.

6月19日周三

  • Bun v1.1.14

    Fixes 63 bugs (addressing 519 👍). Patch node_modules with bun patch. ORM-less object mapping in bun:sqlite. Log fetch() calls as curl commands. Node.js compatibility improvements. bun install bugfixes, bun:sqlite bugfixes, WebSocket fixes, Windows bugfixes

2月4日周日

  • Bun v1.0.26

    Fixes 30 bugs (addressing 60 👍 reactions), adds support for multi-statement queries in bun:sqlite, makes bun --watch more reliable in longer-running sessions, Bun.FileSystemRouter now supports more than 64 routes, fixes a bug with expect().toStrictEqual(), fixes 2 bugs with error.stack, improves Node.js compatibility

1月16日周二

  • Bun v1.0.23

    Fixes 40 bugs (addressing 194 👍 reactions). import & embed sqlite databases in Bun, Resource Management ('using' TC39 stage3) support, bundler improvements when building for Node.js, bugfix for peer dependency resolution, semver bugfix, 4% faster TCP on linux, Node.js compatibility improvements and more

1月2日周二

  • Bun v1.0.21

    Fixes 33 bugs (addressing 80 👍 reactions). console.table() support. Bun.write, Bun.file, and bun:sqlite use less memory. Large file uploads with FormData use less memory. bun:sqlite error messages get more detailed. Memory leak in errors from node:fs fixed. Node.js compatibility improvements, and many crashes fixed

8月6日周日

6月12日周五

  • 12:43版本发布WindowsSQLitePHPPHP News

    PHP 5.4.42 Released

    The PHP development team announces the immediate availability of PHP 5.4.42. Six security-related issues in PHP were fixed in this release, as well as several security issues in bundled sqlite library (CVE-2015-3414, CVE-2015-3415, CVE-2015-3416). All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.42 please visit our , Windows binaries can be found on . The list of changes is recorded in the . downloads page windows.php.net/download/ ChangeLog