Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWN4NGotZnhyNy1qeGc4

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.

Permalink: https://github.com/advisories/GHSA-cx4j-fxr7-jxg8
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWN4NGotZnhyNy1qeGc4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: about 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-cx4j-fxr7-jxg8, CVE-2021-25902
References: Repository: https://github.com/rustgd/glsl-layout
Blast Radius: 16.2

Affected Packages

cargo:glsl-layout
Dependent packages: 14
Dependent repositories: 145
Downloads: 249,005 total
Affected Version Ranges: < 0.4.0
Fixed in: 0.4.0
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.3.2
All unaffected versions: 0.4.0, 0.4.1, 0.4.2, 0.5.0