CVE-2022-3509
HIGH7.5EPSS 0.13%Protobuf Java vulnerable to Uncontrolled Resource Consumption
Published: 12/12/2022Modified: 4/28/2026
Description
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.
Affected packages (3)
- Debian/protobuffrom 0
- Maven/com.google.protobuf:protobuf-java>= 3.0.0, < 3.16.3
- Maven/com.google.protobuf:protobuf-javalite>= 3.20.0, < 3.20.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-3509
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-3509
- PATCHhttps://github.com/protocolbuffers/protobuf/tree/main/java
- WEBhttps://github.com/protocolbuffers/protobuf/blob/v2.6.1/java/core/src/main/java/com/google/protobuf/MessageReflection.java
- WEBhttps://github.com/protocolbuffers/protobuf/blob/v3.0.0/java/core/src/main/java/com/google/protobuf/MessageReflection.java
- WEBhttps://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9