{"id":"CVE-2024-27284","published":"2024-02-28T15:46:37Z","modified":"2024-08-12T13:21:23Z","title":"cassandra-rs non-idiomatic use of iterators leads to use after free","vendor":"Metaswitch","product":"cassandra-rs","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00817,"percentile":0.58011,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/Metaswitch/cassandra-rs/security/advisories/GHSA-x9xc-63hg-vcfq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Metaswitch/cassandra-rs/commit/ae054dc8044eac9c2c7ae2b1ab154b53ca7f8df7","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":11.6},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"metaswitch","affectedVersions":[{"vendor":"Metaswitch","product":"cassandra-rs","versions":["< 3.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-12T13:15:18.351002Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"cassandra-cpp","vulnerableRanges":["<3.0.0",">=0.0.0-0, <3.0.0"],"patched":["3.0.0"],"from":["GHSA-x9xc-63hg-vcfq","RUSTSEC-2024-0017"],"provenance":"source"}],"summary":{"text":"The flaw is a use-after-free in cassandra-rs, Metaswitch's Cassandra (CQL) driver for Rust, triggered when code uses an item such as a row returned by an iterator after the iterator has already advanced to the next item. An attacker can cause undefined behaviour through this memory access, which can lead to availability impact, and the attack vector is network-reachable with low complexity and no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:29Z"},"euvd":{"id":"EUVD-2024-1335","exploited":false,"provenance":"source"}}