Skip to content

CVE-2024-27284 cassandra-rs non-idiomatic use of iterators leads to use after free

HighCVSS 7.5 EPSS 0.82%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

cassandra-rs is a Cassandra (CQL) driver for Rust. Code that attempts to use an item (e.g., a row) returned by an iterator after the iterator has advanced to the next item will be accessing freed memory and experience undefined behaviour. The problem has been fixed in version 3.0.0.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
cassandra-rs < 3.0.0 3.0.0 Fixed
cassandra-rs project cassandra-rs < 3.0.0 3.0.0 Fixed
crates.io cassandra-cpp(crates.io) < 3.0.0; >= 0.0.0-0, < 3.0.0 3.0.0 Fixed
Metaswitch cassandra-rs = < 3.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io cassandra-cpp(crates.io) < 3.0.0 3.0.0
crates.io cassandra-cpp(crates.io) >= 0.0.0-0, < 3.0.0 3.0.0
Metaswitch cassandra-rs = < 3.0.0 No fix listed
cassandra-rs < 3.0.0 3.0.0
cassandra-rs project cassandra-rs < 3.0.0 3.0.0

References