Vulnerability RUSTSEC-2018-0020

Medium Risk
MEDIUM RISK
CVSS Score: 6.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
7 years ago
December 22, 2018 at 12:00 PM UTC
Possible use-after-free with `proplist::Iterator`
1.0.5 - 2.4.0
1.0.5 - 2.4.0

Summary

Possible use-after-free with `proplist::Iterator`

Details

Affected versions contained a possible use-after-free issue with property list iteration due to a lack of a lifetime constraint tying the lifetime of a proplist::Iterator to the Proplist object for which it was created. This made it possible for users, without experiencing a compiler error/warning, to destroy the Proplist object before the iterator, thus destroying the underlying C object the iterator works upon, before the iterator may be finished with it.

This impacts all versions of the crate before 2.5.0 back to 1.0.5. Before version 1.0.5 the function that produces the iterator was broken to the point of being useless.

Impacted packages

Timeline

Published
7 years ago
December 22, 2018 at 12:00 PM UTC
Fixed (2.5.0)
7 years ago
December 22, 2018 at 05:28 PM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:00 PM UTC