CVE-2022-3509: Protobuf Java vulnerable to Uncontrolled Resource Consumption

CVE-2022-3509 · Severity: low · CVSS 3.1 · Published 2022-12-12

Protobuf Java vulnerable to Uncontrolled Resource Consumption

Technologies: com.google.protobuf:protobuf-java (Maven), com.google.protobuf:protobuf-javalite (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-3509 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-3509 being exploited in the wild.
How severe is CVE-2022-3509?
Low severity, with a CVSS score of 3.1, published 12 December 2022.
Which products and versions are affected?
com.google.protobuf:protobuf-java (Maven) ECOSYSTEM:introduced=3.0.0,fixed=3.16.3; com.google.protobuf:protobuf-javalite (Maven) ECOSYSTEM:introduced=3.20.0,fixed=3.20.3.
Is there a fix for CVE-2022-3509?
Yes. com.google.protobuf:protobuf-java (Maven): upgrade to 3.16.3 or later; com.google.protobuf:protobuf-javalite (Maven): upgrade to 3.20.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-3509?
Check whether you run com.google.protobuf:protobuf-java (Maven) or com.google.protobuf:protobuf-javalite (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • com.google.protobuf:protobuf-java (Maven): upgrade to 3.16.3 or later
    # set com.google.protobuf:protobuf-java to 3.16.3 in your pom.xml or build.gradle
  • com.google.protobuf:protobuf-javalite (Maven): upgrade to 3.20.3 or later
    # set com.google.protobuf:protobuf-javalite to 3.20.3 in your pom.xml or build.gradle

Affected products

  • com.google.protobuf:protobuf-java (Maven) ECOSYSTEM:introduced=3.0.0,fixed=3.16.3
  • com.google.protobuf:protobuf-javalite (Maven) ECOSYSTEM:introduced=3.20.0,fixed=3.20.3

Identifiers

  • CVE-2022-3509
  • GHSA-g5ww-5jh7-63cx

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.