stackabletech / stackabletech/zookeeper-operator

RUSTSEC-2019-0036: Type confusion if __private_get_type_id__ is overridden

Open
#690 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
37
Forks
11
Avg merge
1d 8h
Merged PRs (30d)
10

Description

Type confusion if private_get_type_id is overridden

Details
Status unsound
Package failure
Version 0.1.8
URL https://github.com/rust-lang-nursery/failure/issues/336
Date 2019-11-13

Safe Rust code can implement malfunctioning __private_get_type_id__ and cause
type confusion when downcasting, which is an undefined behavior.

Users who derive Fail trait are not affected.

See advisory page for additional details.

Contributor guide

No contributing guide indexed for this repository

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 report identifies the Rust package failure at version 0.1.8 and links the original issue and advisory page; start by checking how this dependency is declared and resolved in the project. Confirm whether the advisory applies to the project, then verify that the selected remediation removes the affected version and that dependency checks pass.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.