rustsec / rustsec/advisory-db

UB fixed in smallvec >= 1.13.2

Open
#1,960 0 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.