Lucene search
K

4 matches found

Github Security Blog
Github Security Blog
added 2024/04/05 3:40 p.m.8 views

crayon: ObjectPool creates uninitialized memory when freeing objects

As of version 0.6.0, the ObjectPool explicitly creates an uninitialized instance of its type parameter when it attempts to free an object, and swaps it into the storage. This causes instant undefined behavior due to reading the uninitialized memory in order to write it to the pool storage...

7.3AI score
Exploits0References4Affected Software1
OSV
OSV
added 2024/02/27 12:0 p.m.10 views

RUSTSEC-2024-0018 ObjectPool creates uninitialized memory when freeing objects

As of version 0.6.0, the ObjectPool explicitly creates an uninitialized instance of its type parameter when it attempts to free an object, and swaps it into the storage. This causes instant undefined behavior due to reading the uninitialized memory in order to write it to the pool storage...

7.3AI score
Exploits0References3
RustSec
RustSec
added 2020/08/31 12:0 p.m.24 views

Misbehaving `HandleLike` implementation can lead to memory safety violation

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...

8.1CVSS1.5AI score0.00336EPSS
Exploits0
OSV
OSV
added 2020/08/31 12:0 p.m.15 views

RUSTSEC-2020-0037 Misbehaving `HandleLike` implementation can lead to memory safety violation

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...

8.1CVSS8.1AI score0.00336EPSS
Exploits0References3
Rows per page
Query Builder