Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 7, 2026

This PR contains the following updates:

Package Type Update Change
lru dependencies minor 0.13.00.16.0

GitHub Vulnerability Alerts

GHSA-rhfx-m35p-ff5j

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.


IterMut violates Stacked Borrows by invalidating internal pointer

GHSA-rhfx-m35p-ff5j / RUSTSEC-2026-0002

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 OSV and the GitHub Advisory Database (CC-BY 4.0).


IterMut violates Stacked Borrows by invalidating internal pointer

GHSA-rhfx-m35p-ff5j / RUSTSEC-2026-0002

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

Unknown

References

This data is provided by OSV and the Rust Advisory Database (CC0 1.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.

Configuration

📅 Schedule: Branch creation - "" (UTC), 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.


This change is Reviewable

@renovate renovate bot enabled auto-merge (squash) January 7, 2026 22:12
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