What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Metaswitch cassandra-rs 3.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27284 or the next vulnerability affects your stack