Skip to content

fix(security): update ewf to 0.4.10 to clear RUSTSEC-2026-0253 - #13

Merged
h4x0r merged 2 commits into
mainfrom
fix/lru-security-bump
Aug 24, 2026
Merged

fix(security): update ewf to 0.4.10 to clear RUSTSEC-2026-0253#13
h4x0r merged 2 commits into
mainfrom
fix/lru-security-bump

Conversation

@h4x0r

@h4x0r h4x0r commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

fix(security): update ewf to 0.4.10 to clear RUSTSEC-2026-0253

lru 0.12.5 reached this repo transitively through ewf 0.4.7, which declares
lru ^0.12. ewf 0.4.9 onward declares ^0.18.1, so taking 0.4.10 drops the
vulnerable copy: the graph now resolves a single lru 0.18.2.

RUSTSEC-2026-0253 is an unsoundness in LruCache::pop() — a panicking key
Drop skips detach(), leaving dangling pointers that a later eviction writes
through (CWE-416/415, reachable from safe Rust).

Lockfile only. The declared requirement ewf = { version = "0.4", optional = true } already admitted 0.4.10, so nothing in the manifest moves — the lock was
simply pinned to a release that predates the fix.

`lru 0.12.5` reached this repo transitively through `ewf 0.4.7`, which declares
`lru ^0.12`. ewf 0.4.9 onward declares `^0.18.1`, so taking 0.4.10 drops the
vulnerable copy: the graph now resolves a single `lru 0.18.2`.

RUSTSEC-2026-0253 is an unsoundness in `LruCache::pop()` — a panicking key
`Drop` skips `detach()`, leaving dangling pointers that a later eviction writes
through (CWE-416/415, reachable from safe Rust).

Lockfile only. The declared requirement `ewf = { version = "0.4", optional =
true }` already admitted 0.4.10, so nothing in the manifest moves — the lock was
simply pinned to a release that predates the fix.
@socket-security

socket-security Bot commented Aug 17, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedewf@​0.4.7 ⏵ 0.4.109610093100100

View full report

cargo vet --locked verifies [[trusted]] entries against publisher records
cached in imports.lock, and neither new version was recorded:

  ewf:0.4.10 missing ["safe-to-deploy"]
  safe-read:0.2.2 missing ["safe-to-deploy"]

Both are first-party with existing trust entries (h4x0r, user-id 347968;
ewf from 2026-03-05, safe-read from 2026-07-15). No trust entry is added
here — only the publisher records they verify against.

safe-read is NEW to this graph rather than a version bump: ewf 0.4.10
replaced its lru usage with safe-read, which is the same change that
clears RUSTSEC-2026-0253. Normally a new crate entering the graph is a
supply-chain decision rather than bookkeeping; here the decision predates
the PR by a month and the crate is our own, so the standing trust covers
it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@h4x0r
h4x0r merged commit ee8eee1 into main Aug 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant