Skip to main content

Uncontrolled Resource Consumption in com.google.protobuf:protobuf-java

CVE-2022-3509

  • com.google.protobuf:protobuf-java
Severity High
Score 7.5/10

Summary

A parsing issue similar to CVE-2022-3171, but with textformat in protobuf-java core and javalite versions prior to 3.16.3, 3.17.x prior to 3.19.6, 3.20.x prior to 3.20.3, 3.21.x prior to 3.21.7, and 4.0.0-rc-1, 4.0.0-rc-2 lead to a Denial of Service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields cause 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published