rustsec / rustsec/advisory-db

num-primes crate is unmaintained

Open
#2,787 3 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

The num-primes crate appears to be unmaintained.

In addition, it contains a critical correctness issue where certain prime numbers are incorrectly identified as non-prime. This makes the crate unsafe to rely on for applications requiring accurate primality testing.

Relevant issue: https://github.com/AtropineTears/num-primes/issues/1

cc: @AtropineTears (crate maintainer)

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

Start with the num-primes crate and its linked upstream issue to verify the reported primality-testing failure and the maintenance status. Then review how this advisory database records crate vulnerabilities; done means the report is validated and an appropriate advisory entry or documented resolution is added.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.