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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | dm-reverb | <= 0.14.0 | keine Korrektur |
| Python (PyPI) | dm-reverb-nightly | <= 0.15.0.dev20240214 | keine Korrektur |
Verweise
- 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/google-deepmind/reverb
- https://pypi.org/project/dm-reverb-nightly
- https://github.com/advisories/GHSA-w69q-w4h4-2fx8
- https://pypi.org/project/dm-reverb
- CVSS-Vektor
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N- Schwäche (CWE)
CWE-416, CWE-502- Plattform
- Python (PyPI)
- Paket
dm-reverb, dm-reverb-nightly- Veröffentlicht
- 19.09.2024
- Aktualisiert
- 11.10.2026 14:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-1306 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w69q-w4h4-2fx8 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2452 - PyPA Advisory Database; CC BY 4.0
Schwachstellenhistorie: dm-reverb
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.