CVE-2024-27284
HIGH 7.5CVSS 3.1cassandra-rs's non-idiomatic use of iterators leads to use after free
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.
- Published
- 29 Feb 2024
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-416
- Also known as
- GHSA-x9xc-63hg-vcfqRUSTSEC-2024-0017
- Sources
- NVDJSONOSV GHSA-x9xc-63hg-vcfqJSONOSV RUSTSEC-2024-0017JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cassandra-rs_project | cassandra-rscpe:2.3:a:cassandra-rs_project:cassandra-rs:*:*:*:*:*:rust:*:* |
< 3.0.0 | 3.0.0 |
| OSV | crates.io | cassandra-cpp | < 3.0.0 | 3.0.0 |
| OSV | crates.io | cassandra-cpp | >= 0.0.0-0, < 3.0.0 | 3.0.0 |
References
- https://github.com/Metaswitch/cassandra-rs/commit/ae054dc8044eac9c2c7ae2b1ab154b53ca7f8df7 · Patch, WEB
- https://github.com/Metaswitch/cassandra-rs/security/advisories/GHSA-x9xc-63hg-vcfq · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27284 · ADVISORY
- https://github.com/Metaswitch/cassandra-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0017.html · WEB, ADVISORY
- https://crates.io/crates/cassandra-cpp · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 29 Feb 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Apr 2024)