Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY2ZzYtNTRobS1maHh2

Data races in libsbc

Affected versions of this crate implements Send for Decoder<R> for any R: Read. This allows Decoder<R> to contain R: !Send and carry (move) it to another thread.

This can result in undefined behavior such as memory corruption from data race on R, or dropping R = MutexGuard<_> from a thread that didn't lock the mutex.

The flaw was corrected in commit a34d6e1 by adding trait bound R: Send to the Send impl for Decoder<R>.

Permalink: https://github.com/advisories/GHSA-f6g6-54hm-fhxv
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY2ZzYtNTRobS1maHh2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-f6g6-54hm-fhxv, CVE-2020-36440
References: Repository: https://github.com/mvertescher/libsbc-rs
Blast Radius: 1.0

Affected Packages

cargo:libsbc
Dependent packages: 0
Dependent repositories: 0
Downloads: 21,811 total
Affected Version Ranges: < 0.1.5
Fixed in: 0.1.5
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4
All unaffected versions: 0.1.5