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.
EPSS: 0.012 (65.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Google Protobuf-cpp
- Google Protobuf-python
- Google Llc Protobuf-cpp — versions unspecified
- Google Llc Protobuf-python — versions unspecified
- Debian Debian_linux — versions 10.0
- Fedoraproject Fedora — versions 36, 37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve-coordination@google.com (Third Party Advisory)
- cve-coordination@google.com (Third Party Advisory)
- cve-coordination@google.com (mailing-list, Mailing List, Third Party Advisory)
- cve-coordination@google.com (vendor-advisory)
- cve-coordination@google.com (mailing-list, Mailing List)
- cve-coordination@google.com (vendor-advisory)
- cve-coordination@google.com
Frequently asked questions
- What is CVE-2022-1941?
- CVE-2022-1941 is a high-severity vulnerability in Google Protobuf-Cpp, classified under CWE-1286. CVSS score: 7.5/10. Published 2022-09-22.
- How severe is CVE-2022-1941?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2022-1941 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.