CVE-2022-3509 – com.google.protobuf:protobuf-java
Package
Manager: maven
Name: com.google.protobuf:protobuf-java
Vulnerable Version: >=3.0.0 <3.16.3 || >=3.17.0 <3.19.6 || >=3.20.0 <3.20.3 || >=3.21.0 <3.21.7
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00102 pctl0.28671
Details
Protobuf Java vulnerable to Uncontrolled Resource Consumption 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.
Metadata
Created: 2022-12-12T15:30:33Z
Modified: 2025-09-02T19:35:38Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-g5ww-5jh7-63cx/GHSA-g5ww-5jh7-63cx.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-g5ww-5jh7-63cx
Finding: F067
Auto approve: 1