Skip to content

fix(deps): update rust crate lru to 0.16.0 [security]#3484

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/crate-lru-vulnerability
Open

fix(deps): update rust crate lru to 0.16.0 [security]#3484
renovate[bot] wants to merge 1 commit intomainfrom
renovate/crate-lru-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 7, 2026

This PR contains the following updates:

Package Type Update Change
lru dependencies minor 0.12.30.16.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


IterMut violates Stacked Borrows by invalidating internal pointer

GHSA-rhfx-m35p-ff5j

More information

Details

Affected versions of this crate contain a soundness issue in the IterMut iterator implementation. The IterMut::next and IterMut::next_back methods temporarily create an exclusive reference to the key when dereferencing the internal node pointer.

This invalidates the shared pointer held by the internal HashMap, violating Stacked Borrows rules.

Severity

  • CVSS Score: 2.7 / 10 (Low)
  • Vector String: 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:U

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

jeromefroe/lru-rs (lru)

v0.16.3

Compare Source

  • Fix Stacked Borrows violation in IterMut.

v0.16.2

Compare Source

  • Upgrade hashbrown dependency to 0.16.0.

v0.16.1

Compare Source

  • Fix Clone for unbounded cache.

v0.16.0

Compare Source

  • Implement Clone for caches with custom hashers.

v0.15.0

Compare Source

  • Return bool from promote and demote to indicate whether key was found.

v0.14.0

Compare Source

  • Use NonZeroUsize::MAX instead of unwrap(), and update MSRV to 1.70.0.

v0.13.0

Compare Source

  • Add peek_mru and pop_mru methods, upgrade dependency on hashbrown to 0.15.2, and update MSRV to 1.65.0.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge (squash) January 7, 2026 21:11
@github-actions github-actions Bot added the type: fix Iterations on existing features or infrastructure. label Jan 7, 2026
@github-actions
Copy link
Copy Markdown

Action required: PR inactive for 5 days.
Status update or closure in 10 days.

@github-actions github-actions Bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Jan 12, 2026
@renovate renovate Bot force-pushed the renovate/crate-lru-vulnerability branch from 7b1196b to fbc2b57 Compare January 18, 2026 23:05
@github-actions github-actions Bot removed the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Jan 19, 2026
@renovate renovate Bot force-pushed the renovate/crate-lru-vulnerability branch 22 times, most recently from 5c702cc to ee2dc38 Compare January 22, 2026 20:39
@github-actions
Copy link
Copy Markdown

Action required: PR inactive for 5 days.
Status update or closure in 10 days.

@github-actions github-actions Bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Jan 27, 2026
@renovate renovate Bot force-pushed the renovate/crate-lru-vulnerability branch from ee2dc38 to b5b55a5 Compare March 15, 2026 03:38
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.08%. Comparing base (d5b42e4) to head (72cc5b4).

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3484    +/-   ##
========================================
  Coverage   86.07%   86.08%            
========================================
  Files         265      270     +5     
  Lines       25943    26223   +280     
========================================
+ Hits        22331    22574   +243     
- Misses       3612     3649    +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot removed the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Mar 15, 2026
@github-actions
Copy link
Copy Markdown

Action required: PR inactive for 5 days.
Status update or closure in 10 days.

@github-actions github-actions Bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Mar 20, 2026
@renovate renovate Bot changed the title fix(deps): update rust crate lru to 0.16.0 [security] fix(deps): update rust crate lru to 0.16.0 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
auto-merge was automatically disabled March 27, 2026 02:05

Pull request was closed

@renovate renovate Bot deleted the renovate/crate-lru-vulnerability branch March 27, 2026 02:05
@renovate renovate Bot changed the title fix(deps): update rust crate lru to 0.16.0 [security] - autoclosed fix(deps): update rust crate lru to 0.16.0 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/crate-lru-vulnerability branch 2 times, most recently from b5b55a5 to 72cc5b4 Compare March 30, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants