CVE-2022-3171
October 12, 2022
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 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.
Affected Packages
com.google.protobuf:protobuf-kotlin (JAVA):
Affected version(s) >=3.20.0-rc-1 <3.20.3Fix Suggestion:
Update to version 3.20.3com.google.protobuf:protobuf-kotlin-lite (JAVA):
Affected version(s) >=3.17.0-rc-2 <3.19.6Fix Suggestion:
Update to version 3.19.6com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=3.21.0-rc-1 <3.21.7Fix Suggestion:
Update to version 3.21.7com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=3.17.0-rc-1 <3.19.6Fix Suggestion:
Update to version 3.19.6com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=3.17.0-rc-1 <3.19.6Fix Suggestion:
Update to version 3.19.6com.google.protobuf:protobuf-kotlin (JAVA):
Affected version(s) >=3.17.0-rc-2 <3.19.6Fix Suggestion:
Update to version 3.19.6com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=3.21.0-rc-1 <3.21.7Fix Suggestion:
Update to version 3.21.7com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=3.20.0-rc-1 <3.20.3Fix Suggestion:
Update to version 3.20.3com.google.protobuf:protobuf-kotlin-lite (JAVA):
Affected version(s) >=3.21.0-rc-1 <3.21.7Fix Suggestion:
Update to version 3.21.7com.google.protobuf:protobuf-kotlin-lite (JAVA):
Affected version(s) >=3.20.0-rc-1 <3.20.3Fix Suggestion:
Update to version 3.20.3com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=2.0.1 <3.16.3Fix Suggestion:
Update to version 3.16.3com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=3.20.0-rc-1 <3.20.3Fix Suggestion:
Update to version 3.20.3com.google.protobuf:protobuf-kotlin (JAVA):
Affected version(s) >=3.21.0-rc-1 <3.21.7Fix Suggestion:
Update to version 3.21.7com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=3.8.0-rc-1 <3.16.3Fix Suggestion:
Update to version 3.16.3google-protobuf (RUBY):
Affected version(s) >=3.20.0.rc.1 <3.20.3Fix Suggestion:
Update to version 3.20.3google-protobuf (RUBY):
Affected version(s) >=3.17.0.rc.1 <3.19.6Fix Suggestion:
Update to version 3.19.6google-protobuf (RUBY):
Affected version(s) >=3.21.0.rc.1 <3.21.7Fix Suggestion:
Update to version 3.21.7Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
ADJACENT
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
ADJACENT
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.08