Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThjNmctNHhjNS13OTZj

Uninitialized memory exposure in claxon

Affected versions of Claxon made an invalid assumption about the decode buffer size being a multiple of a value read from the bitstream. This could cause parts of the decode buffer to not be overwritten. If the decode buffer was newly allocated and uninitialized, this uninitialized memory could be exposed.

This allows an attacker to observe parts of the uninitialized memory in the decoded audio stream.

The flaw was corrected by checking that the value read from the bitstream divides the decode buffer size, and returning a format error if it does not. If an error is returned, the decode buffer is not exposed. Regression tests and an additional fuzzer have been added to prevent similar flaws in the future.

Permalink: https://github.com/advisories/GHSA-8c6g-4xc5-w96c
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThjNmctNHhjNS13OTZj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 11 months ago


CVSS Score: 6.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Identifiers: GHSA-8c6g-4xc5-w96c, CVE-2018-20992
References: Repository: https://github.com/ruuda/claxon
Blast Radius: 19.2

Affected Packages

cargo:claxon
Dependent packages: 21
Dependent repositories: 901
Downloads: 1,178,265 total
Affected Version Ranges: < 0.3.2, >= 0.4.0, < 0.4.1
Fixed in: 0.3.2, 0.4.1
All affected versions: 0.0.1, 0.1.0, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.4.0
All unaffected versions: 0.3.2, 0.3.3, 0.4.1, 0.4.2, 0.4.3