CVE-2024-8375: Dm reverb Reverb Use After Free Vulnerability Vulnerability
MODERATECVE-2024-8375 is a MODERATE (CVSS 6.1) reverb use after free vulnerability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Dm reverb libraries in the PyPI ecosystem. The issue involves reverb use after free vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-8375 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N).
How to Fix CVE-2024-8375
To remediate this vulnerability, upgrade all affected Dm reverb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install dm-reverb>=Latest secure release
pip install dm-reverb-nightly>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show dm-reverb
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-8375, inspect your installed packages using pip:
pip show dm-reverb
Analyze the terminal output to locate any version of Dm reverb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show dm-reverb command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Dm reverb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-8375 Affected Dm reverb Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dm-reverb
|
PyPI |
≤ 0.14.0
|
|
|
dm-reverb-nightly
|
PyPI |
≤ 0.15.0.dev20240214
|
|
References
Frequently Asked Questions
What is CVE-2024-8375?
Which Dm reverb versions are affected?
What version fixes CVE-2024-8375?
Is dm-reverb affected?
Is dm-reverb-nightly affected?
What is the CVSS score of CVE-2024-8375?
What CWE is associated with CVE-2024-8375?
How can I check PyPI dependencies for CVE-2024-8375?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w69q-w4h4-2fx8",
"modified" : "2025-07-22T21:41:44Z",
"published" : "2024-09-19T18:30:52Z",
"aliases" : [ "CVE-2024-8375" ],
"summary" : "Reverb use after free vulnerability",
"details" : "There exists a use after free vulnerability in Reverb. Reverb supports the VARIANT datatype, which is supposed to represent an arbitrary object in C++. When a tensor proto of type VARIANT is unpacked, memory is first allocated to store the entire tensor, and a ctor is called on each instance. Afterwards, Reverb copies the content in tensor_content to the previously mentioned pre-allocated memory, which results in the bytes in tensor_content overwriting the vtable pointers of all the objects which were previously allocated. Reverb exposes 2 relevant gRPC endpoints: InsertStream and SampleStream. The attacker can insert this stream into the server’s database, then when the client next calls SampleStream they will unpack the tensor into RAM, and when any method on that object is called (including its destructor) the attacker gains control of the Program Counter. We recommend upgrading past git commit https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "dm-reverb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.14.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "dm-reverb-nightly"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.15.0.dev20240214"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8375"
}, {
"type" : "WEB",
"url" : "https://github.com/google-deepmind/reverb/issues/141"
}, {
"type" : "WEB",
"url" : "https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/google-deepmind/reverb"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-416", "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-19T19:47:59Z",
"nvd_published_at" : "2024-09-19T16:15:06Z"
}
}