CVE-2018-20992 – claxon
Package
Manager: cargo
Name: claxon
Vulnerable Version: >=0.4.0 <0.4.1 || >=0 <0.3.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00301 pctl0.52922
Details
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.
Metadata
Created: 2021-08-25T20:43:52Z
Modified: 2023-06-13T16:57:24Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8c6g-4xc5-w96c/GHSA-8c6g-4xc5-w96c.json
CWE IDs: ["CWE-908"]
Alternative ID: GHSA-8c6g-4xc5-w96c
Finding: F138
Auto approve: 1