Advisory

RUSTSEC-2019-0020

Also known as: CVE-2019-16144, GHSA-6c65-xcf5-299x

Summary

fix unsound APIs that could lead to UB

Details

Affected versions of this crate API could use uninitialized memory with some APIs in special
cases, like use the API in none generator context. This could lead to UB.
The flaw was corrected by https://github.com/Xudong-Huang/generator-rs/issues/9
https://github.com/Xudong-Huang/generator-rs/issues/11
https://github.com/Xudong-Huang/generator-rs/issues/13
https://github.com/Xudong-Huang/generator-rs/issues/14
This patch fixes all those issues above.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2019-09-06 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

generator

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.6.18 (semver)

Fixed versions

0.6.18

Fix

  • Fixed version 0.6.18
    cargo update -p generator --precise 0.6.18

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