mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-02 09:36:40 +01:00
Merge pull request #371 from Qwaz/0010-crayon
crayon: Misbehaving `HandleLike` implementation can lead to memory safety violation
This commit is contained in:
13
crates/crayon/RUSTSEC-0000-0000.toml
Normal file
13
crates/crayon/RUSTSEC-0000-0000.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "crayon"
|
||||
date = "2020-08-31"
|
||||
informational = "unsound"
|
||||
title = "Misbehaving `HandleLike` implementation can lead to memory safety violation"
|
||||
url = "https://github.com/shawnscode/crayon/issues/87"
|
||||
description = """
|
||||
Unsafe code in `ObjectPool` has time-of-check to time-of-use (TOCTOU) bug that can eventually lead to a memory safety violation. `ObjectPool` and `HandlePool` implicitly assumes that `HandleLike` trait methods are pure, i.e., they always return the same value. However, this assumption is unsound since `HandleLike` is a safe, public trait that allows a custom implementation.
|
||||
"""
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
Reference in New Issue
Block a user