Skip to content

fix(deps): update rust crate lru to 0.16 [security] - #234

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/alien-370-crate-lru-vulnerability
Open

fix(deps): update rust crate lru to 0.16 [security]#234
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/alien-370-crate-lru-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
lru dependencies minor 0.120.16

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
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@greptile-apps

greptile-apps Bot commented Jul 27, 2026

Copy link
Copy Markdown

PR author is in the excluded authors list.

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.

0 participants