rustsec / rustsec/advisory-db

`interment`s `LocalIntern` type is unsound

Open
#1,193 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Unsound
Dominant language
No language data
Stars
1.2k
Forks
544
Avg merge
1d 10h
Merged PRs (30d)
45

Description

The last update (0.6.0) of interment notes in its changelog that it removed LocalIntern because it can be used to cause use-after-free errors.
https://github.com/droundy/internment/blob/9270a4d05c6c18f89e7ecfb2ad3fe52250f6385f/CHANGELOG.md
The type is removed in 0.6.0 but present on older versions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked interment CHANGELOG entry and verify which versions contain LocalIntern and which remove it. Then inspect how rustsec advisory issues represent affected and fixed crate versions; done means the unsound use-after-free risk is recorded accurately for the relevant older releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.