GHSA-q579-9wp9-gfp2 – rdiff
Package
Manager: cargo
Name: rdiff
Vulnerable Version: >=0 <=0.1.2
Severity
Level: High
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
Window can read out of bounds if Read instance returns more bytes than buffer size `rdiff` performs a diff of two provided strings or files. As part of its reading code it uses the return value of a `Read` instance to set the length of its internal character vector. If the `Read` implementation claims that it has read more bytes than the length of the provided buffer, the length of the vector will be set to longer than its capacity. This causes `rdiff` APIs to return uninitialized memory in its API methods.
Metadata
Created: 2022-06-17T00:14:18Z
Modified: 2023-06-13T20:10:22Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-q579-9wp9-gfp2/GHSA-q579-9wp9-gfp2.json
CWE IDs: []
Alternative ID: N/A
Finding: F111
Auto approve: 1