Vulnerability · Published Feb 28, 2024 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity use-after-free in cassandra-rs from Metaswitch. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 42.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected products (as reported)

VendorProductVersions
Metaswitch cassandra-rs < 3.0.0

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References