CVE-2024-7254: protobuf-java has potential Denial of Service issue

CVE-2024-7254 · Severity: low · CVSS 3.1 · Published 2024-09-19

protobuf-java has potential Denial of Service issue

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

Quick answers

Is CVE-2024-7254 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-7254 being exploited in the wild.
How severe is CVE-2024-7254?
Low severity, with a CVSS score of 3.1, published 19 September 2024.
Which products and versions are affected?
com.google.protobuf:protobuf-java (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5; com.google.protobuf:protobuf-javalite (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5; com.google.protobuf:protobuf-kotlin (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5; com.google.protobuf:protobuf-kotlin-lite (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5; and 1 more.
Is there a fix for CVE-2024-7254?
Yes. com.google.protobuf:protobuf-java (Maven): upgrade to 3.25.5 or later; com.google.protobuf:protobuf-javalite (Maven): upgrade to 3.25.5 or later; com.google.protobuf:protobuf-kotlin (Maven): upgrade to 3.25.5 or later; com.google.protobuf:protobuf-kotlin-lite (Maven): upgrade to 3.25.5 or later; google-protobuf (RubyGems): upgrade to 3.25.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-7254?
Check whether you run com.google.protobuf:protobuf-java (Maven), com.google.protobuf:protobuf-javalite (Maven), com.google.protobuf:protobuf-kotlin (Maven) or one of the others listed 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.25.5 or later
    # set com.google.protobuf:protobuf-java to 3.25.5 in your pom.xml or build.gradle
  • com.google.protobuf:protobuf-javalite (Maven): upgrade to 3.25.5 or later
    # set com.google.protobuf:protobuf-javalite to 3.25.5 in your pom.xml or build.gradle
  • com.google.protobuf:protobuf-kotlin (Maven): upgrade to 3.25.5 or later
    # set com.google.protobuf:protobuf-kotlin to 3.25.5 in your pom.xml or build.gradle
  • com.google.protobuf:protobuf-kotlin-lite (Maven): upgrade to 3.25.5 or later
    # set com.google.protobuf:protobuf-kotlin-lite to 3.25.5 in your pom.xml or build.gradle
  • google-protobuf (RubyGems): upgrade to 3.25.5 or later
    bundle update google-protobuf

Affected products

  • com.google.protobuf:protobuf-java (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5
  • com.google.protobuf:protobuf-javalite (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5
  • com.google.protobuf:protobuf-kotlin (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5
  • com.google.protobuf:protobuf-kotlin-lite (Maven) ECOSYSTEM:introduced=0,fixed=3.25.5
  • google-protobuf (RubyGems) ECOSYSTEM:introduced=0,fixed=3.25.5

Identifiers

  • CVE-2024-7254
  • GHSA-735f-pc8j-v9w8

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