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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/Metaswitch/cassandra-rs/security/advisories/GHSA-x9xc-63hg-vcfq vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Metaswitch/cassandra-rs/commit/ae054dc8044eac9c2c7ae2b1ab154b53ca7f8df7 patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com