Bug 2291470 (CVE-2022-1941)

Summary: CVE-2022-1941 protobuf: message parsing vulnerability in ProtocolBuffers
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akostadi, amasferr, amctagga, aoconnor, bbuckingham, bdettelb, bniver, cbartlet, chazlett, dmayorov, eglynn, ehelms, epacific, flucifre, gmeno, gtanzill, jcammara, jhardy, jjoyce, jlledo, jneedle, jobarker, jschluet, juwatts, lhh, lsvaty, mabashia, mbenjamin, mburns, mgarciac, mhackett, mhulan, mkudlej, mmakovy, mminar, nmoumoul, pcreech, pgrist, rbiba, rchan, simaishi, smcdonal, sostapov, sskracic, teagle, tjochec, vereddy, yguenane, zsadeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: protobuf 3.18.3, protobuf 3.19.5, protobuf 3.20.2, protobuf 3.21.6 Doc Type: ---
Doc Text:
A parsing vulnerability for the MessageSet type in the ProtocolBuffers 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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2291474    

Description Mauro Matteo Cascella 2024-06-12 10:29:38 UTC
A parsing vulnerability for the MessageSet type in the ProtocolBuffers 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.

References:
https://cloud.google.com/support/bulletins#GCP-2022-019
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf
http://www.openwall.com/lists/oss-security/2022/09/27/1

Comment 2 Mauro Matteo Cascella 2024-06-12 10:49:19 UTC
Upstream fix:
https://github.com/protocolbuffers/protobuf/pull/10542

Comment 6 errata-xmlrpc 2025-05-13 10:06:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7138 https://access.redhat.com/errata/RHSA-2025:7138