GitHub Advisoryadvisory · Maven
GHSA-4gg5-vx3j-xwc7 Protobuf Java vulnerable to Uncontrolled Resource Consumption
HIGH
Official page ↗
- Aliases
- CVE-2022-3510
- Ecosystem
- Maven
- Packages
- com.google.protobuf:protobuf-java, com.google.protobuf:protobuf-javalite
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2022-12-12
Affected packages
• Maven com.google.protobuf:protobuf-java: >= 3.0.0, < 3.16.3 → fixed in 3.16.3
• Maven com.google.protobuf:protobuf-java: >= 3.17.0, < 3.19.6 → fixed in 3.19.6
• Maven com.google.protobuf:protobuf-java: >= 3.20.0, < 3.20.3 → fixed in 3.20.3
• Maven com.google.protobuf:protobuf-java: >= 3.21.0, < 3.21.7 → fixed in 3.21.7
• Maven com.google.protobuf:protobuf-javalite: >= 3.0.0, < 3.16.3 → fixed in 3.16.3
• Maven com.google.protobuf:protobuf-javalite: >= 3.17.0, < 3.19.6 → fixed in 3.19.6
• Maven com.google.protobuf:protobuf-javalite: >= 3.20.0, < 3.20.3 → fixed in 3.20.3
• Maven com.google.protobuf:protobuf-javalite: >= 3.21.0, < 3.21.7 → fixed in 3.21.7
Description
A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions 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.
Related
Alias · CVE (1)
- CVE-2022-3510 A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions in protobuf-java core and lite versions prior to 3.21.7, 3.20.3,… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness