Update Rust crate lru to 0.18.0 [SECURITY] - #2681
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 12, 2026 03:45
c360bb5 to
5585c82
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 12, 2026 16:07
5585c82 to
a367ed3
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 12, 2026 17:23
a367ed3 to
c185838
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 13, 2026 05:14
c185838 to
a3c28fe
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 13, 2026 05:21
a3c28fe to
e752b30
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 14, 2026 01:59
e752b30 to
5eabf17
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 14, 2026 05:21
5eabf17 to
c4fb579
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 14, 2026 05:55
c4fb579 to
2032d92
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 14, 2026 14:41
2032d92 to
e8c6789
Compare
Member
|
This doesn't replace it entirely, and is blocked on awslabs/aws-sdk-rust#1451 |
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 19, 2026 20:36
0abce9b to
7f5eafc
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 20, 2026 02:02
7f5eafc to
c3ababa
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 20, 2026 02:29
c3ababa to
da15d35
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 20, 2026 06:43
da15d35 to
5cc6506
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 20, 2026 08:23
5cc6506 to
ec92c21
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 20, 2026 08:47
ec92c21 to
1ff2bf3
Compare
renovate
Bot
force-pushed
the
renovate/crate-lru-vulnerability
branch
from
August 20, 2026 11:48
1ff2bf3 to
ab92dbf
Compare
palfrey
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.16.0→0.18.0Potential use-after-free due to lack of panic safety in
LruCache::pop()RUSTSEC-2026-0253
More information
Details
LruCache::pop()inlruwas not panic-safe. If theDropimplementation of a stored key panics duringpop(),self.detach()is never called, leaving dangling pointers in the internal doubly-linked list.A subsequent cache operation that triggers eviction can then dereference these dangling pointers:
detach()callImpact
Both types of undefined behavior can be invoked in safe Rust, but only if unwinding panics are enabled and
std::panic::catch_unwindis used with key types that have potentially-panickingDropimplementations.Fix
Fixed in
lru0.18.2 by detaching the node from the linked list before freeing it and dropping the key (lru-rs#238).Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
jeromefroe/lru-rs (lru)
v0.18.2Compare Source
popmethod.v0.18.1Compare Source
find_and_promotemethod.v0.18.0Compare Source
get_or_insert_mut_ref.v0.17.0Compare Source
hashbrownto 0.17.0 and update MSRV to 1.85.0.v0.16.4Compare Source
get_or_insert_with_keyand variants.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This change is