UB fixed in smallvec >= 1.13.2
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 1.2k
- Forks
- 544
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 45
Description
According to https://github.com/servo/rust-smallvec/issues/343, the smallvec crate had undefined behavior in the Smallvec::insert() function in versions >= 1.8.1, <= 1.13.1 (https://github.com/servo/rust-smallvec/issues/343#issuecomment-2010314421).
Given the number of downloads and crates depending on it, it's probably worth recording it in the advisory database.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository file or test. Review the referenced smallvec issue and existing advisory entries first, then record the affected smallvec versions and the fixed version in the advisory database; done means the vulnerability is represented with those version boundaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- security
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100