Advisory

RUSTSEC-2021-0038

Also known as: CVE-2021-28306, CVE-2021-28307, CVE-2021-28308, GHSA-5pg8-h4gv-m3p8, GHSA-7qcc-g2m9-8533, GHSA-vjmg-pc8h-p6p8

Summary

Multiple memory safety issues

Details

Affected versions contain multiple memory safety issues, such as:

  • Setting a multi label type where an image doesn't exist would lead to a NULL pointer dereference.
  • Setting a window icon using a non-raster image (which FLTK rasterizes lazily) would lead to a NULL dereference.
  • Pixmap constructor would not check for correct pixmaps which could lead to out-of bound reads.

Severity

Not rated by the source.

Dates

Published
2021-03-06 12:00 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

fltk

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.15.3 (semver)

Fixed versions

0.15.3

Fix

  • Fixed version 0.15.3
    cargo update -p fltk --precise 0.15.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences