CVE-2022-3171

NameCVE-2022-3171
DescriptionA parsing issue with binary data 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
protobuf (PTS)buster3.6.1.3-2vulnerable
buster (security)3.6.1.3-2+deb10u1vulnerable
bullseye3.12.4-1+deb11u1vulnerable
bookworm3.21.12-3fixed
trixie3.21.12-8fixed
sid3.21.12-8.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
protobufsourceexperimental3.21.7-1
protobufsource(unstable)3.21.9-3

Notes

[bullseye] - protobuf <ignored> (Too intrusive to backport, requires significant refactoring)
[buster] - protobuf <ignored> (Too intrusive to backport, requires significant refactoring)
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2
https://github.com/protocolbuffers/protobuf/pull/10664
https://github.com/protocolbuffers/protobuf/pull/10665
https://github.com/protocolbuffers/protobuf/pull/10666
https://github.com/protocolbuffers/protobuf/pull/10667
https://github.com/protocolbuffers/protobuf/pull/10668
CPU DoS in protobuf-java, fixed by significant refactoring

Search for package or bug name: Reporting problems