Advisory

RUSTSEC-2019-0016

Also known as: CVE-2019-16140, GHSA-5rrv-m36h-qwf8

Summary

Use-after-free in buffer conversion implementation

Details

The From<Buffer> implementation for Vec<u8> was not properly implemented,
returning a vector backed by freed memory. This could lead to memory corruption
or be exploited to cause undefined behavior.

A fix was published in version 0.1.3.

Severity

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

Dates

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

Affected packages and fixes

chttp

crates.io · All systems

Affected

  • introduced 0.1.1, fixed 0.1.3 (semver)

Fixed versions

0.1.3

Fix

  • Fixed version 0.1.3
    cargo update -p chttp --precise 0.1.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