rustsec / rustsec/advisory-db

hexchat since 0.3.0 is unsound

Open
#913 5 comments 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 hexchat crate has these 'safe' macros https://github.com/pie-flavor/hexchat-rs/blob/master/src/safe_static.rs

As the crate itself states, using them with threads is undefined/unsound.

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 by reviewing the linked hexchat src/safe_static.rs file and the crate's statement about thread safety. Confirm the unsound behavior and determine how it should be represented in this advisory database; the issue does not name an advisory file, test, or expected database entry.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.