Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUSTSEC-2021-0130: Use after free in lru crate #5

Open
github-actions bot opened this issue Jun 5, 2022 · 0 comments
Open

RUSTSEC-2021-0130: Use after free in lru crate #5

github-actions bot opened this issue Jun 5, 2022 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Jun 5, 2022

Use after free in lru crate

Details
Package lru
Version 0.6.6
URL jeromefroe/lru-rs#120
Date 2021-12-21
Patched versions >=0.7.1

Lru crate has use after free vulnerability.

Lru crate has two functions for getting an iterator. Both iterators give
references to key and value. Calling specific functions, like pop(), will remove
and free the value, and but it's still possible to access the reference of value
which is already dropped causing use after free.

See advisory page for additional details.

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

No branches or pull requests

0 participants