Double Free Affecting glsl-layout package, versions <0.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-GLSLLAYOUT-5707470
  • published14 Jun 2023
  • disclosed25 Aug 2021
  • credit@sslab-gatech

Introduced: 25 Aug 2021

CVE-2021-25902  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade glsl-layout to version 0.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Double Free due to not guarding against panic within the user-provided function f (2nd parameter of fn map_array).

CVSS Scores

version 3.1