CVE-2022-1941
HIGH7.5EPSS 0.17%protobuf-cpp and protobuf-python have potential Denial of Service issue
Published: 9/23/2022Modified: 4/28/2026
Description
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.
Affected packages (2)
- Debian/protobuffrom 0, < 3.12.4-1+deb11u1
- PyPI/protobuffrom 0, < 3.18.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-1941
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-1941
- PATCHhttps://github.com/protocolbuffers/protobuf
- WEBhttps://cloud.google.com/support/bulletins#GCP-2022-019
- WEBhttps://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00019.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP
- WEBhttps://security.netapp.com/advisory/ntap-20240705-0001
- WEBhttp://www.openwall.com/lists/oss-security/2022/09/27/1