CVE-2022-1941 Out of Memory issue in ProtocolBuffers for cpp and python
HighCVSS 7.5
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi protobuf(PyPI) | < 3.18.3 | 3.18.3 |
| pypi protobuf(PyPI) | = 2.0.0beta | No fix listed |
| pypi protobuf(PyPI) | = 2.0.3 | No fix listed |
| pypi protobuf(PyPI) | = 2.3.0 | No fix listed |
| pypi protobuf(PyPI) | = 2.4.1 | No fix listed |
| pypi protobuf(PyPI) | = 2.5.0 | No fix listed |
| pypi protobuf(PyPI) | = 2.6.0 | No fix listed |
| pypi protobuf(PyPI) | = 2.6.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0a2 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0a3 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b1 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b1.post1 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b1.post2 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b2 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b2.post1 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b2.post2 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b3 | No fix listed |
| pypi protobuf(PyPI) | = 3.0.0b4 | No fix listed |
| pypi protobuf(PyPI) | = 3.1.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.1.0.post1 | No fix listed |
| pypi protobuf(PyPI) | = 3.10.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.10.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.11.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.11.0rc1 | No fix listed |
Show 114 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi protobuf(PyPI) | = 3.11.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.11.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.11.2 | No fix listed |
| pypi protobuf(PyPI) | = 3.11.3 | No fix listed |
| pypi protobuf(PyPI) | = 3.12.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.12.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.12.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.12.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.12.2 | No fix listed |
| pypi protobuf(PyPI) | = 3.12.4 | No fix listed |
| pypi protobuf(PyPI) | = 3.13.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.13.0rc3 | No fix listed |
| pypi protobuf(PyPI) | = 3.14.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.14.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.14.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.14.0rc3 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.2 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.3 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.4 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.5 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.6 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.7 | No fix listed |
| pypi protobuf(PyPI) | = 3.15.8 | No fix listed |
| pypi protobuf(PyPI) | = 3.16.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.16.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.16.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.17.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.17.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.17.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.17.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.17.2 | No fix listed |
| pypi protobuf(PyPI) | = 3.17.3 | No fix listed |
| pypi protobuf(PyPI) | = 3.18.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.18.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.18.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.18.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.2.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.2.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.2.0rc1.post1 | No fix listed |
| pypi protobuf(PyPI) | = 3.2.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.3.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.4.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.5.0.post1 | No fix listed |
| pypi protobuf(PyPI) | = 3.5.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.5.2 | No fix listed |
| pypi protobuf(PyPI) | = 3.5.2.post1 | No fix listed |
| pypi protobuf(PyPI) | = 3.6.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.6.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.7.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.7.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 3.7.0rc3 | No fix listed |
| pypi protobuf(PyPI) | = 3.7.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.8.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.8.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.9.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.9.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 3.9.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.9.2 | No fix listed |
| pypi protobuf(PyPI) | >= 3.19.0, < 3.19.5 | 3.19.5 |
| pypi protobuf(PyPI) | = 3.19.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.19.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.19.2 | No fix listed |
| pypi protobuf(PyPI) | = 3.19.3 | No fix listed |
| pypi protobuf(PyPI) | = 3.19.4 | No fix listed |
| pypi protobuf(PyPI) | >= 3.20.0, < 3.20.2 | 3.20.2 |
| pypi protobuf(PyPI) | = 3.20.0 | No fix listed |
| pypi protobuf(PyPI) | = 3.20.1 | No fix listed |
| pypi protobuf(PyPI) | = 3.20.1rc1 | No fix listed |
| pypi protobuf(PyPI) | >= 4.0.0, < 4.21.6 | 4.21.6 |
| pypi protobuf(PyPI) | = 4.21.0 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.0rc1 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.0rc2 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.1 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.2 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.3 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.4 | No fix listed |
| pypi protobuf(PyPI) | = 4.21.5 | No fix listed |
| Microsoft azure linux | < 1.62.0-2 | 1.62.0-2 |
| Microsoft azure linux | < 3.1.1-1 | 3.1.1-1 |
| Microsoft azure linux | < 8.0.40-2 | 8.0.40-2 |
| Microsoft azure linux | < 25.3-1 | 25.3-1 |
| Microsoft cbl mariner | < 8.0.40-1 | 8.0.40-1 |
| Microsoft cbl mariner | < 3.17.3-3 | 3.17.3-3 |
| debian/protobuf(Debian:12) | < 3.21.9-3 | 3.21.9-3 |
| debian/protobuf(Debian:13) | < 3.21.9-3 | 3.21.9-3 |
| debian/protobuf(Debian:14) | < 3.21.9-3 | 3.21.9-3 |
| Google protobuf-cpp | <= 3.16.1 | No fix listed |
| Google protobuf-cpp | <= 3.17.3 | No fix listed |
| Google protobuf-cpp | <= 3.18.2 | No fix listed |
| Google protobuf-cpp | <= 3.19.4 | No fix listed |
| Google protobuf-cpp | <= 3.20.1 | No fix listed |
| Google protobuf-cpp | <= 3.21.5 | No fix listed |
| Google protobuf-python | <= 3.16.1 | No fix listed |
| Google protobuf-python | <= 3.17.3 | No fix listed |
| Google protobuf-python | <= 3.18.2 | No fix listed |
| Google protobuf-python | <= 3.19.4 | No fix listed |
| Google protobuf-python | <= 3.20.1 | No fix listed |
| Google protobuf-python | <= 4.21.5 | No fix listed |
| Google protobuf-cpp | < 3.18.3 | 3.18.3 |
| Google protobuf-cpp | >= 3.19.0, < 3.19.5 | 3.19.5 |
| Google protobuf-cpp | >= 3.20.0, < 3.20.2 | 3.20.2 |
| Google protobuf-cpp | >= 3.21.0, < 3.21.6 | 3.21.6 |
| Google protobuf-python | < 3.18.3 | 3.18.3 |
| Google protobuf-python | >= 3.19.0, < 3.19.5 | 3.19.5 |
| Google protobuf-python | >= 3.20.0, < 3.20.2 | 3.20.2 |
| Google protobuf-python | >= 4.0.0, < 4.21.6 | 4.21.6 |
| ubuntu/protobuf(Ubuntu:22.04) | < 3.12.4-1ubuntu7.22.04.1 | 3.12.4-1ubuntu7.22.04.1 |
| fedoraproject fedora | = 36 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| debian linux | = 10.0 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- grpc third-party-advisory vendor-advisory
- cloud.google.com third-party-advisory
- github.com product
- [debian-lts-announce] 20230418 [SECURITY] [DLA 3393-1] protobuf security update mailing-list
- FEDORA-2022-25f35ed634 vendor-advisory
- FEDORA-2022-15729fa33d vendor-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com
- [oss-security] 20220927 CVE-2022-1941: Protobuf C++, Python DoS mailing-list third-party-advisory
- pypi.org product
- github.com vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2022-1941 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-5769-1 vendor-advisory
- USN-5945-1 vendor-advisory
- www.cve.org