Skip to content

Add advisory for sfbinpack: OOB read via BitReader#2859

Open
yaokunzhang wants to merge 1 commit into
rustsec:mainfrom
yaokunzhang:advisory-sfbinpack
Open

Add advisory for sfbinpack: OOB read via BitReader#2859
yaokunzhang wants to merge 1 commit into
rustsec:mainfrom
yaokunzhang:advisory-sfbinpack

Conversation

@yaokunzhang
Copy link
Copy Markdown
Contributor

Affected crate(s)

  • sfbinpack (4329 recent downloads on crates.io)

Links to upstream issue(s) or PR(s)

Severity

Out-of-bounds read. CompressedTrainingDataEntryReader constructs a BitReader from a raw pointer without tracking length. Crafted input triggers OOB reads. Triggerable from safe code (CompressedTrainingDataEntryReader::new(), .next()).

Checklist

  • Advisory filename starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate

keywords = ["out-of-bounds"]

[versions]
patched = []
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to have been fixed in 0.6.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants