Vulnerability
CVE-2022-1941
A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.
29 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2-2023-1973
Amazon Linux 2 2017.12 - ALAS2-2023-1973: medium priority package update for protobuf
-
ALAS2023-2023-049
Amazon Linux 2023 - ALAS2023-2023-049: Important priority package update for protobuf
-
ALSA-2025:7138
Moderate: protobuf security update
-
AZL-13172
CVE-2022-1941 affecting package mysql for versions less than 8.0.40-1
-
AZL-13174
CVE-2022-1941 affecting package protobuf for versions less than 3.17.3-3
-
AZL-25856
CVE-2022-1941 affecting package pytorch for versions less than 2.0.0-7
-
AZL-35018
CVE-2022-1941 affecting package mysql for versions less than 8.0.40-1
-
AZL-35125
CVE-2022-1941 affecting package protobuf for versions less than 25.3-1
-
AZL-35147
CVE-2022-1941 affecting package pytorch for versions less than 2.2.2-2
-
AZL-38908
CVE-2022-1941 affecting package tensorflow for versions less than 2.16.1-1
-
AZL-39031
CVE-2022-1941 affecting package keras for versions less than 3.1.1-1
-
AZL-39061
CVE-2022-1941 affecting package python-tensorboard for versions less than 2.16.2-1
-
DEBIAN-CVE-2022-1941
A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1,…
-
DLA-3393-1
protobuf - security update
-
ELSA-2025-7138
ELSA-2025-7138: protobuf security update (MODERATE)
-
GHSA-8gq9-2x98-w8hf
protobuf-cpp and protobuf-python have potential Denial of Service issue
-
OESA-2022-2010
protobuf security update
-
OESA-2022-2011
protobuf security update
-
OESA-2022-2012
protobuf security update
-
PYSEC-2026-899
protobuf-cpp and protobuf-python have potential Denial of Service issue
-
RHSA-2025:7138
Red Hat Security Advisory: protobuf security update
-
RLSA-2025:7138
Moderate: protobuf security update
-
SUSE-SU-2022:3922-1
Security update for protobuf
-
SUSE-SU-2023:2783-1
Security update for grpc, protobuf, python-Deprecated, python-PyGithub, python-aiocontextvars, python-avro, python-bcrypt, python-cryptography, python-cryptography-vectors, python-google-api-core,…
-
SUSE-SU-2023:2783-2
Security update for grpc, protobuf, python-Deprecated, python-PyGithub, python-aiocontextvars, python-avro, python-bcrypt, python-cryptography, python-cryptography-vectors, python-google-api-core,…
-
SUSEVEX-CVE-2022-1941
A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1,…
-
UBUNTU-CVE-2022-1941
A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1,…
-
USN-5769-1
protobuf vulnerabilities
-
USN-5945-1
protobuf vulnerabilities
References
- http://www.openwall.com/lists/oss-security/2022/09/27/1
- https://cloud.google.com/support/bulletins#GCP-2022-019
- https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf
- https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html
- 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/
- https://security.netapp.com/advisory/ntap-20240705-0001/