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.015 (73.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 73.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.015 · change: +0.003
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 proof-of-concept exploits
References
- cloud.google.com/support/bulletins (Third Party Advisory)
- github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf (Third Party Advisory)
- www.openwall.com/lists/oss-security/2022/09/27/1 (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.debian.org/debian-lts-announce/2023/04/msg00019.html (mailing-list, Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.netapp.com/advisory/ntap-20240705-0001/
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.