Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS13NjlxLXc0aDQtMmZ4OM4AA_sd
Reverb use after free vulnerability
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
Permalink: https://github.com/advisories/GHSA-w69q-w4h4-2fx8JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13NjlxLXc0aDQtMmZ4OM4AA_sd
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 24 days ago
Updated: 24 days ago
CVSS Score: 6.0
CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N
Identifiers: GHSA-w69q-w4h4-2fx8, CVE-2024-8375
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-8375
- https://github.com/google-deepmind/reverb/issues/141
- https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25
- https://github.com/advisories/GHSA-w69q-w4h4-2fx8
Blast Radius: 13.7
Affected Packages
pypi:dm-reverb-nightly
Dependent packages: 3Dependent repositories: 190
Downloads: 14,110 last month
Affected Version Ranges: <= 0.15.0.dev20240214
No known fixed version
All affected versions:
pypi:dm-reverb
Dependent packages: 7Dependent repositories: 189
Downloads: 7,731 last month
Affected Version Ranges: <= 0.14.0
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0