CVE-2022-3171
IBM Db2 vulnerability analysis and mitigation

Overview

A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 was discovered in October 2022. The vulnerability, identified as CVE-2022-3171, affects both the Java full and lite Protobuf runtimes, as well as Protobuf for Kotlin and JRuby, which themselves use the Java Protobuf runtime (GitHub Advisory).

Technical details

The vulnerability occurs in the parsing procedure for binary and text format data. When processing input streams containing multiple instances of non-repeated embedded messages with repeated or unknown fields, objects are converted back-and-forth between mutable and immutable forms. The CVSS v3.1 base score is 7.5 (HIGH) according to NVD, with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, while Google Inc. assessed it as 4.3 (MEDIUM) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

The vulnerability can result in denial of service attacks through potentially long garbage collection pauses. This affects the availability of systems using the vulnerable versions of protobuf-java, potentially causing service disruptions (GitHub Advisory, Gentoo Security).

Mitigation and workarounds

Users are recommended to update to the fixed versions: protobuf-java (3.21.7, 3.20.3, 3.19.6, 3.16.3), protobuf-javalite (3.21.7, 3.20.3, 3.19.6, 3.16.3), protobuf-kotlin (3.21.7, 3.20.3, 3.19.6, 3.16.3), protobuf-kotlin-lite (3.21.7, 3.20.3, 3.19.6, 3.16.3), and google-protobuf [JRuby gem only] (3.21.7, 3.20.3, 3.19.6). The fix affects both the Java runtime (full and lite) and the generated code, requiring regeneration of any checked-in generated code using the new version (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management