hoch7.5
CVE-2022-3509
Protobuf Java vulnerable to Uncontrolled Resource Consumption
Auswirkung
A parsing issue similar to CVE-2022-3171, but with textformat in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | com.google.protobuf:protobuf-java | >= 3.17.0, < 3.19.6 | 3.19.6 |
| maven | com.google.protobuf:protobuf-javalite | >= 3.20.0, < 3.20.3 | 3.20.3 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen | Behoben durch |
|---|---|---|---|
| Protobuf-java | ab 3.16.0 vor 3.16.3 ab 3.19.0 vor 3.19.6 ab 3.20.0 vor 3.20.3 ab 3.21.0 vor 3.21.7 | Kein Hersteller-Update aufgeführt | |
| Protobuf-javalite | ab 3.16.0 vor 3.16.3 ab 3.17.0 vor 3.19.6 ab 3.20.0 vor 3.20.3 ab 3.21.0 vor 3.21.7 | Kein Hersteller-Update aufgeführt | |
| Microsoft | Azure Linux 3.0 ARM | Onlinedienst | Vom Hersteller behoben, nichts zu tun |
| Microsoft | Azure Linux 3.0 x64 | Onlinedienst | Vom Hersteller behoben, nichts zu tun |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9
- https://github.com/advisories/GHSA-g5ww-5jh7-63cx
- https://nvd.nist.gov/vuln/detail/CVE-2022-3509
- https://github.com/protocolbuffers/protobuf/blob/v2.6.1/java/core/src/main/java/com/google/protobuf/MessageReflection.java
- https://github.com/protocolbuffers/protobuf/blob/v3.0.0/java/core/src/main/java/com/google/protobuf/MessageReflection.java