PT-2021-17846 · Fltk · Fltk

Moalyousef

·

Published

2021-03-06

·

Updated

2021-08-25

·

CVE-2021-28308

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions: fltk crate versions prior to 0.15.3
Description: The issue is related to multiple memory safety problems. There is an out-of-bounds read due to the lack of input validation in the pixmap constructor. Additionally, NULL pointer dereferences can occur when attempting to use a non-raster image for a window icon or when setting a multi-label type with a nonexistent image.
Recommendations: For versions prior to 0.15.3, update to version 0.15.3 or later to resolve the issue. As a temporary workaround, consider avoiding the use of non-raster images for window icons and ensuring that images exist before setting multi-label types. Restrict the use of the pixmap constructor until a patch is available.

Fix

Out of bounds Read

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-28308
GHSA-5PG8-H4GV-M3P8
GHSA-7QCC-G2M9-8533
GHSA-VJMG-PC8H-P6P8
RUSTSEC-2021-0038

Affected Products

Fltk