SQLite past RUSTSEC-2026-0459 with sqlx 0.9.1, and url 2.5.9 (#467, #492, #493)

sqlx-sqlite 0.9.1 (2026-11-18) takes libsqlite3-sys up to 0.40, where
0.9.0 pinned it below 0.38, so the SQLite fix #467 waited on is in:
libsqlite3-sys 0.37.0 -> 0.40.0, and its ignore leaves deny.toml.

cargo deny then failed on two advisories published since:
RUSTSEC-2026-0592, url 2.5.8's Url::origin() overflowing the stack on a
URL nested in blob: thousands of times, fixed in 2.5.9 (#492); and
RUSTSEC-2026-0543, chrono unmaintained, no fixed release and no known
vulnerability. rss, atom_syndication and librqbit-dht depend on chrono,
so ipx's own uses moving off it would not take it out of Cargo.lock: it
is recorded in deny.toml as assessed and #493 stays open for when they do.

All six crates' tests pass, ipx's on Postgres and on SQLite, and the
browser suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVBuJRne2JAhFpaDV2U
This commit is contained in:
2026-11-22 12:36:18 -05:00
parent 6028202129
commit 2c8b4d925e
5 changed files with 53 additions and 28 deletions

70
Cargo.lock generated
View File

@@ -1318,9 +1318,9 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
[[package]] [[package]]
name = "form_urlencoded" name = "form_urlencoded"
version = "1.2.2" version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e"
dependencies = [ dependencies = [
"percent-encoding", "percent-encoding",
] ]
@@ -2684,9 +2684,9 @@ dependencies = [
[[package]] [[package]]
name = "libsqlite3-sys" name = "libsqlite3-sys"
version = "0.37.0" version = "0.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1f111c8c41e7c61a49cd34e44c7619462967221a6443b0ec299e0ac30cfb9b1" checksum = "b06e69070b7e12262b0cd90832f0a7396f142a2b330181255562decf9f0c6215"
dependencies = [ dependencies = [
"cc", "cc",
"pkg-config", "pkg-config",
@@ -3150,6 +3150,24 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "objc2-core-foundation"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
dependencies = [
"bitflags 2.13.1",
]
[[package]]
name = "objc2-system-configuration"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396"
dependencies = [
"objc2-core-foundation",
]
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.21.4" version = "1.21.4"
@@ -3533,7 +3551,7 @@ version = "0.14.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042" checksum = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042"
dependencies = [ dependencies = [
"heck 0.5.0", "heck 0.4.1",
"itertools 0.14.0", "itertools 0.14.0",
"log", "log",
"multimap", "multimap",
@@ -4709,9 +4727,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx" name = "sqlx"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "378620ccc25c62c89d8be1c819e76a88d59bdcc3304733330788948e619bfd71" checksum = "edb1dddfbdfe5fb99dba0541a87b2edb8adbd59e45815db22d32d4fbbb8813dd"
dependencies = [ dependencies = [
"sqlx-core", "sqlx-core",
"sqlx-macros", "sqlx-macros",
@@ -4722,9 +4740,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx-core" name = "sqlx-core"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05b44e85bf579a8eeb4ceaa77a3a523baf2bf0e9bac7e40f405d537b5d2d5ccb" checksum = "c08f9787cc5aff062567dea2205f8ae37a617b04342633ab4f74944858ea6072"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
@@ -4746,7 +4764,7 @@ dependencies = [
"rustls", "rustls",
"serde", "serde",
"serde_json", "serde_json",
"sha2 0.10.9", "sha2 0.11.0",
"smallvec", "smallvec",
"thiserror 2.0.20", "thiserror 2.0.20",
"tokio", "tokio",
@@ -4758,9 +4776,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx-macros" name = "sqlx-macros"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd2b84f2bc39a5705ef27ec785a11c934a41bbd4a24941e257927cddc26b60bf" checksum = "bf62c58a1e7fd6031ee684eee21d07572f5aebe71c273a01ae4f04eeeba47c47"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -4771,9 +4789,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx-macros-core" name = "sqlx-macros-core"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb8d96de5fdc85a5c4ec813432b523ec637e80ba98f046555f75f7908ddac7c3" checksum = "c1ff75c9d609ac84aa8a3e0d92b5c0c54bf541a7f70db492fb40c9a4bea792c8"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"dotenvy", "dotenvy",
@@ -4784,7 +4802,7 @@ dependencies = [
"quote", "quote",
"serde", "serde",
"serde_json", "serde_json",
"sha2 0.10.9", "sha2 0.11.0",
"sqlx-core", "sqlx-core",
"sqlx-mysql", "sqlx-mysql",
"sqlx-postgres", "sqlx-postgres",
@@ -4796,9 +4814,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx-mysql" name = "sqlx-mysql"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90b8020fe17c5f2c245bfa2505d7ef59c5604839527c740266ad2214acebea27" checksum = "19eeb93b96eb10a3a59dfb436f3daf87d2fc41168ed9e9dc153ec8257dd6a761"
dependencies = [ dependencies = [
"bitflags 2.13.1", "bitflags 2.13.1",
"byteorder", "byteorder",
@@ -4822,9 +4840,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx-postgres" name = "sqlx-postgres"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87a2bdd6e83f6b3ea525ca9fee568030508b58355a43d0b2c1674d5f79dcd65e" checksum = "b0e9e02f764a1fe640eeefc8eb33eeddd274204654ec9f2db8ff851a1dee2364"
dependencies = [ dependencies = [
"atoi 2.0.0", "atoi 2.0.0",
"base64 0.22.1", "base64 0.22.1",
@@ -4857,9 +4875,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlx-sqlite" name = "sqlx-sqlite"
version = "0.9.0" version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "488e99c397a62007e4229aec669a179816339afc6d2620ca6fa420dbee2e982c" checksum = "88b6b78a34ddcb1db4046d462db8f79cee811019d7297b99fca8fac5de26672e"
dependencies = [ dependencies = [
"atoi 2.0.0", "atoi 2.0.0",
"flume", "flume",
@@ -5558,9 +5576,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]] [[package]]
name = "url" name = "url"
version = "2.5.8" version = "2.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a"
dependencies = [ dependencies = [
"form_urlencoded", "form_urlencoded",
"idna", "idna",
@@ -5775,6 +5793,12 @@ name = "whoami"
version = "2.1.3" version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "626c4bac6755d76ffc12cb01b2eac751db1996b9e0041de9aa02c8c211ddc82c" checksum = "626c4bac6755d76ffc12cb01b2eac751db1996b9e0041de9aa02c8c211ddc82c"
dependencies = [
"libc",
"libredox",
"objc2-system-configuration",
"web-sys",
]
[[package]] [[package]]
name = "winapi" name = "winapi"

View File

@@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security ### Security
- Built with SQLite 3.54 (libsqlite3-sys 0.40, through sqlx 0.9.1), past an advisory on opening a crafted database (RUSTSEC-2026-0459, #467), and url 2.5.9, which a web address nested thousands of times in `blob:` can no longer crash (RUSTSEC-2026-0592, #492).
- Feeds and Markdown items are read with pulldown-cmark 0.13.6, and compressed answers with zstd 0.14.4 and zstd-safe 8.3, each closing published advisories (#467). - Feeds and Markdown items are read with pulldown-cmark 0.13.6, and compressed answers with zstd 0.14.4 and zstd-safe 8.3, each closing published advisories (#467).
## [1.4.1] - 2026-10-24 ## [1.4.1] - 2026-10-24

View File

@@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security ### Security
- Built with SQLite 3.54 (libsqlite3-sys 0.40, through sqlx 0.9.1), past an advisory on opening a crafted database (RUSTSEC-2026-0459, #467), and url 2.5.9, which a web address nested thousands of times in `blob:` can no longer crash (RUSTSEC-2026-0592, #492).
- Show notes are cleaned with ammonia 4.2.5, which no longer lets SVG or MathML in a feed's HTML carry script past it (RUSTSEC-2026-0533); Markdown items are read with pulldown-cmark 0.13.6, and compressed feeds and answers with zstd 0.14.4 and zstd-safe 8.3, each closing published advisories (#467). - Show notes are cleaned with ammonia 4.2.5, which no longer lets SVG or MathML in a feed's HTML carry script past it (RUSTSEC-2026-0533); Markdown items are read with pulldown-cmark 0.13.6, and compressed feeds and answers with zstd 0.14.4 and zstd-safe 8.3, each closing published advisories (#467).
- Ten wrong passwords from one address in a quarter hour hold that address off sign-in for the rest of it, answered `429` with how long to wait; before, a guesser could try as fast as the server checked. The address is the one a trusted proxy names last in `X-Forwarded-For`, or the peer's (#409). - Ten wrong passwords from one address in a quarter hour hold that address off sign-in for the rest of it, answered `429` with how long to wait; before, a guesser could try as fast as the server checked. The address is the one a trusted proxy names last in `X-Forwarded-For`, or the peer's (#409).

View File

@@ -21,5 +21,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security ### Security
- Built with SQLite 3.54 (libsqlite3-sys 0.40, through sqlx 0.9.1), past an advisory on opening a crafted database (RUSTSEC-2026-0459, #467), and url 2.5.9, which a web address nested thousands of times in `blob:` can no longer crash (RUSTSEC-2026-0592, #492).
- An episode's notes are cleaned with ammonia 4.2.5, which no longer lets SVG or MathML in a feed's HTML carry script past it (RUSTSEC-2026-0533) (#467). - An episode's notes are cleaned with ammonia 4.2.5, which no longer lets SVG or MathML in a feed's HTML carry script past it (RUSTSEC-2026-0533) (#467).

View File

@@ -10,11 +10,9 @@ ignore = [
# ringbuf 0.4's double free needs an element whose Drop panics; librqbit-utp's buffer holds # ringbuf 0.4's double free needs an element whose Drop panics; librqbit-utp's buffer holds
# only u8, which has no Drop. Its fix is ringbuf 0.5, which librqbit 9.0.1 cannot take (#281). # only u8, which has no Drop. Its fix is ringbuf 0.5, which librqbit 9.0.1 cannot take (#281).
{ id = "RUSTSEC-2026-0293", reason = "librqbit-utp's ring buffer holds u8: no Drop to panic" }, { id = "RUSTSEC-2026-0293", reason = "librqbit-utp's ring buffer holds u8: no Drop to panic" },
# SQLite before 3.54 can return stale memory when it opens a database with a -wal file another # chrono is unmaintained, every version, and no vulnerability is known. rss, atom_syndication and
# party crafted. ipx opens only its own state.db, in its own data directory, and production is # librqbit-dht depend on it, so ipx's own code moving off it would not take it out (#493).
# on Postgres. The fix is libsqlite3-sys 0.39, which sqlx-sqlite 0.9.0, the latest, cannot take: { id = "RUSTSEC-2026-0543", reason = "unmaintained, not vulnerable; the feed parsers and librqbit depend on it (#493)" },
# drop this when sqlx allows it (#467).
{ id = "RUSTSEC-2026-0459", reason = "opens only its own SQLite files; waits on sqlx for libsqlite3-sys 0.39 (#467)" },
] ]
[licenses] [licenses]