Skip to content

[Security] lru IterMut Stacked Borrows violation (GHSA-rhfx-m35p-ff5j) #233

@iberi22

Description

@iberi22

Security Advisory: GHSA-rhfx-m35p-ff5j

Severity: Low
Package: lru
Type: Stacked Borrows Violation

Summary

IterMut iterator implementation temporarily creates 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.

Fix

Upgrade to >= 0.16.3

References


Auto-generated by SWAL Security Processor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions