logo

GHSA-x3f4-45xf-rjm7 ruzstd

Package

Manager: cargo
Name: ruzstd
Vulnerable Version: >=0.7.0 <0.7.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H/E:F/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

`ruzstd` uninit and out-of-bounds memory reads Affected versions of `ruzstd` miscalculate the length of the allocated and init section of its internal `RingBuffer`, leading to uninitialized or out-of-bounds reads in `copy_bytes_overshooting` of up to 15 bytes. This may result in up to 15 bytes of memory contents being written into the decoded data when decompressing a crafted archive. This may occur multiple times per archive.

Metadata

Created: 2024-12-02T21:34:27Z
Modified: 2024-12-02T21:34:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-x3f4-45xf-rjm7/GHSA-x3f4-45xf-rjm7.json
CWE IDs: ["CWE-125"]
Alternative ID: N/A
Finding: F111
Auto approve: 1