HIGH 7.5

CVE-2022-3510

Protobuf Java vulnerable to Uncontrolled Resource Consumption

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
com.google.protobuf » protobuf-java
>= 3.0.0, < 3.16.3>= 3.17.0, < 3.19.6>= 3.20.0, < 3.20.3>= 3.21.0, < 3.21.7
3.16.3, 3.19.6, 3.20.3, 3.21.7
com.google.protobuf » protobuf-javalite
>= 3.0.0, < 3.16.3>= 3.17.0, < 3.19.6>= 3.20.0, < 3.20.3>= 3.21.0, < 3.21.7
3.16.3, 3.19.6, 3.20.3, 3.21.7

Blast radius

2affected artifacts
177affected versions
29,041dependent artifacts (est.)
1,505,583dependent versions

66% of the dependent artifacts (19,237) still pull an affected version in their latest release.

DepthDependent versions
Direct
135,260
2 hops
422,392
3 hops
361,132
4 hops
286,402
5 hops
197,906
6 hops
102,491

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.