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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-02-28T12:00:00.000Z
- Modified: 2026-10-12T18:00:02.666Z
- Also known as: GHSA-x9xc-63hg-vcfq, RUSTSEC-2024-0017
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Metaswitch cassandra-rs: < 3.0.0
- cassandra-rs cassandra-rs: before 3.0.0
- cassandra-cpp (crates.io): before 3.0.0; from 0.0.0-0 before 3.0.0
- cassandra-rs_project cassandra-rs: before 3.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Metaswitch/cassandra-rs/security/advisories/GHSA-x9xc-63hg-vcfq> (vendor-advisory, web)
- <https://github.com/Metaswitch/cassandra-rs/commit/ae054dc8044eac9c2c7ae2b1ab154b53ca7f8df7> (patch, 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> (advisory, web)
- <https://crates.io/crates/cassandra-cpp> (package)

## Sources

- CVE List: [CVE-2024-27284](https://www.cve.org/CVERecord?id=CVE-2024-27284), CVE Terms of Use, modified 2024-08-12
- GitHub Advisory Database: [GHSA-x9xc-63hg-vcfq](https://github.com/advisories/GHSA-x9xc-63hg-vcfq), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0017](https://rustsec.org/advisories/RUSTSEC-2024-0017.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2024-27284](https://nvd.nist.gov/vuln/detail/CVE-2024-27284), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27284 · Whole record: https://cve.day/CVE-2024-27284.json · Rebuilt by cve.day 2026-11-25T22:58:37.177Z
