CVE-2021-25902 – glsl-layout
Package
Manager: cargo
Name: glsl-layout
Vulnerable Version: >=0 <0.4.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00334 pctl0.55653
Details
Double free in glsl-layout Affected versions of this crate did not guard against panic within the user-provided function f (2nd parameter of fn map_array), and thus panic within f causes double drop of a single object. The flaw was corrected in the 0.4.0 release by wrapping the object vulnerable to a double drop within ManuallyDrop<T>.
Metadata
Created: 2021-08-25T20:53:01Z
Modified: 2023-06-13T18:09:24Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-cx4j-fxr7-jxg8/GHSA-cx4j-fxr7-jxg8.json
CWE IDs: ["CWE-415"]
Alternative ID: GHSA-cx4j-fxr7-jxg8
Finding: F138
Auto approve: 1