CVE-2024-27284 json
cassandra-rs non-idiomatic use of iterators leads to use after free
published 2y ago modified 30d ago also GHSA-x9xc-63hg-vcfq , RUSTSEC-2024-0017 , EUVD-2024-1335
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io cassandra-cpp 3.0.0
- cassandra-rs cassandra-rs 3.0.0
Is CVE-2024-27284 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | cassandra-cpp | <3.0.0 >=0.0.0-0, <3.0.0 |
3.0.0 |
Affected products
- Metaswitch cassandra-rs
- cassandra-rs cassandra-rs
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/Metaswitch/cassandra-rs/commit/ae054dc8044eac9c2c7ae2b1ab154b53ca7f8df7
web, patch
-
github.com
/Metaswitch/cassandra-rs/security/advisories/GHSA-x9xc-63hg-vcfq
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-27284
advisory
-
github.com
/Metaswitch/cassandra-rs
package
-
rustsec.org
/advisories/RUSTSEC-2024-0017.html
web, advisory
-
crates.io
/crates/cassandra-cpp
package
Sources
- CVE List CVE-2024-27284
- GitHub Advisory GHSA-x9xc-63hg-vcfq
- NVD CVE-2024-27284
- OSV RUSTSEC-2024-0017
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.