CVE-2022-1941: ProtocolBuffers - Denial of Service
- Cve: CVE-2022-1941
- Name: ProtocolBuffers - Denial of Service
- 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.
- Impact: Attackers can cause denial of service by triggering out of memory failures through crafted messages, disrupting service availability.
- Remediation: Upgrade to protobuf-cpp versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 and protobuf-python versions 3.18.3, 3.19.5, 3.20.2, 4.21.6.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01613
- Epss percentile: 0.7661
- Assignee: [email protected]
- Published at: 2022-09-22T15:15:09Z
- Age in days: 1524
- Modified at: 2026-06-17T04:23:23Z
- Patch available: yes
- References total: 7
- Products total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1941
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1286 | Improper Validation of Syntactic Correctness of Input |
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| google:protobuf-python | >= 4.0.0, < 4.21.6; >= 3.20.0, < 3.20.2; >= 3.19.0, < 3.19.5; < 3.18.3 | /v1/products/google/protobuf-python |
| google:protobuf-cpp | >= 3.21.0, < 3.21.6; >= 3.20.0, < 3.20.2; >= 3.19.0, < 3.19.5; < 3.18.3 | /v1/products/google/protobuf-cpp |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 37, = 36 | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| protocolbuffers/protobuf | package, security_advisory | yes | /v1/repositories/protocolbuffers/protobuf |
Index
- Repositories: 991
- Repositories high signal: 616
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports