GHSA-4gg5-vx3j-xwc7
Protobuf Java vulnerable to Uncontrolled Resource Consumption
At a glance
- Published
- Updated
- CVE
- CVE-2022-3510
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Affected packages
| Package | Versions |
|---|---|
| Maven · com.google.protobuf:protobuf-java | introduced 3.0.0, fixed 3.16.3 |
| Maven · com.google.protobuf:protobuf-java | introduced 3.17.0, fixed 3.19.6 |
| Maven · com.google.protobuf:protobuf-java | introduced 3.20.0, fixed 3.20.3 |
| Maven · com.google.protobuf:protobuf-java | introduced 3.21.0, fixed 3.21.7 |
| Maven · com.google.protobuf:protobuf-javalite | introduced 3.0.0, fixed 3.16.3 |
| Maven · com.google.protobuf:protobuf-javalite | introduced 3.17.0, fixed 3.19.6 |
| Maven · com.google.protobuf:protobuf-javalite | introduced 3.20.0, fixed 3.20.3 |
| Maven · com.google.protobuf:protobuf-javalite | introduced 3.21.0, fixed 3.21.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-3510 ADVISORY
- https://github.com/protocolbuffers/protobuf/commit/db7c17803320525722f45c1d26fc08bc41d1bf48 WEB
- https://github.com/protocolbuffers/protobuf/tree/main/java PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |