Vulnerability in Google Protobuf-Cpp
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 76.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Google Protobuf-Cpp
- Google Protobuf-Python
- Google Llc Protobuf-Cpp — versions unspecified
- Google Llc Protobuf-Python — versions unspecified
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 36, 37
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, MikeHorn-git/docker-forensic-toolbox, neorage2k3/docker-forensic-toolbox, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- cloud.google.com/support/bulletins (Third Party Advisory)
- github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf (Third Party Advisory)
- [oss-security] 20220927 CVE-2022-1941: Protobuf C++, Python DoS (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2022-25f35ed634 (vendor-advisory)
- [debian-lts-announce] 20230418 [SECURITY] [DLA 3393-1] protobuf security update (mailing-list, Mailing List)
- FEDORA-2022-15729fa33d (vendor-advisory)
- security.netapp.com/advisory/ntap-20240705-0001/