Description
A 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.
Remediation
References
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2
https://security.gentoo.org/glsa/202301-09
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/
Related Vulnerabilities
CVE-2018-20676 Vulnerability in maven package org.webjars:bootstrap-sass
CVE-2015-0886 Vulnerability in maven package org.mindrot:jbcrypt
CVE-2021-46363 Vulnerability in maven package info.magnolia:magnolia-core
CVE-2022-1245 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2020-7780 Vulnerability in maven package com.softwaremill.akka-http-session:core_2.12