CVE-2022-3509

NameCVE-2022-3509
DescriptionA parsing issue similar to CVE-2022-3171, but with textformat 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)bullseye3.12.4-1+deb11u1vulnerable
bookworm3.21.12-3fixed
sid, trixie3.21.12-10fixed

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 via CVE-2022-3171)
[buster] - protobuf <ignored> (Too intrusive to backport, requires significant refactoring via CVE-2022-3171)
https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9 (v21.7, v3.21.7)
CPU DoS in protobuf-java, requires significant refactoring via CVE-2022-3171

Search for package or bug name: Reporting problems