---
title: "CVE-2022-1941"
canonical_url: "https://pkgseek.com/security/CVE-2022-1941"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# 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.…

CVE-2022-1941 is rated HIGH (7.5), with 18 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 18
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | protobuf | 3.14.0-13.el9 | 3.14.0-16.el9 |
| Oracle Linux | 9 | protobuf-lite | 3.14.0-13.el9 | 3.14.0-16.el9 |
| Oracle Linux | 9 | python3-protobuf | 3.14.0-13.el9 | 3.14.0-16.el9 |
| Red Hat Enterprise Linux | 9.8 | protobuf | 3.14.0-13.el9 | 3.14.0-16.el9 |
| Red Hat Enterprise Linux | 9.8 | protobuf-lite | 3.14.0-13.el9 | 3.14.0-16.el9 |
| Red Hat Enterprise Linux | 9.8 | python3-protobuf | 3.14.0-13.el9 | 3.14.0-16.el9 |
| Ubuntu | focal | libprotobuf17 | 3.6.1.3-2ubuntu5 | 3.6.1.3-2ubuntu5.2 |
| Ubuntu | focal | libprotobuf-dev | 3.6.1.3-2ubuntu5 | 3.6.1.3-2ubuntu5.2 |
| Ubuntu | focal | libprotobuf-lite17 | 3.6.1.3-2ubuntu5 | 3.6.1.3-2ubuntu5.2 |
| Ubuntu | focal | libprotoc17 | 3.6.1.3-2ubuntu5 | 3.6.1.3-2ubuntu5.2 |
| Ubuntu | focal | libprotoc-dev | 3.6.1.3-2ubuntu5 | 3.6.1.3-2ubuntu5.2 |
| Ubuntu | focal | python3-protobuf | 3.6.1.3-2ubuntu5 | 3.6.1.3-2ubuntu5.2 |
| Ubuntu | jammy | libprotobuf23 | 3.12.4-1ubuntu7 | 3.12.4-1ubuntu7.22.04.1 |
| Ubuntu | jammy | libprotobuf-dev | 3.12.4-1ubuntu7 | 3.12.4-1ubuntu7.22.04.1 |
| Ubuntu | jammy | libprotobuf-lite23 | 3.12.4-1ubuntu7 | 3.12.4-1ubuntu7.22.04.1 |
| Ubuntu | jammy | libprotoc23 | 3.12.4-1ubuntu7 | 3.12.4-1ubuntu7.22.04.1 |
| Ubuntu | jammy | libprotoc-dev | 3.12.4-1ubuntu7 | 3.12.4-1ubuntu7.22.04.1 |
| Ubuntu | jammy | python3-protobuf | 3.12.4-1ubuntu7 | 3.12.4-1ubuntu7.22.04.1 |
