Service interruption via surplus MessageSet elements
Published Sep 22, 2022 · Updated Aug 3, 2024
MessageSet parsing in affected Google Protocol Buffers C++ and Python releases allows attackers to exhaust service memory with crafted data. Earlier parsers continue processing surplus type-ID and payload elements within one MessageSet item instead of skipping elements after the first valid pair, causing disproportionate allocation. Reachability requires a service to parse unsanitized MessageSet input; an approximately 500 KB payload can allocate more than 3 GB and interrupt the service.
Summary
What happened
MessageSet parsing in affected Google Protocol Buffers C++ and Python releases allows attackers to exhaust service memory with crafted data. Earlier parsers continue processing surplus type-ID and payload elements within one MessageSet item instead of skipping elements after the first valid pair, causing disproportionate allocation. Reachability requires a service to parse unsanitized MessageSet input; an approximately 500 KB payload can allocate more than 3 GB and interrupt the service.
The record
- CVE
- CVE-2022-1941
- Published
- Sep 22, 2022
- Updated
- Aug 3, 2024
- Vendor
- Product
- Protocol Buffers
- Classifications
- CWE-1286, T1499.004
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 22, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.18.3
- Affected versionversion=3.19.0 <3.19.5
- Affected versionversion=3.20.0 <3.20.2
- Affected versionversion=3.21.0 <3.21.6
- Affected versionversion=unspecified <=3.16.1
- Affected versionversion=unspecified <=3.17.3
- Affected versionversion=unspecified <=3.18.2
- Affected versionversion=unspecified <=3.19.4
- Affected versionversion=unspecified <=3.20.1
- Affected versionversion=unspecified <=3.21.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream MessageSet parser reproduction testproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo