cve/2024/CVE-2024-7254.md
2025-09-29 16:08:36 +00:00

26 lines
1.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2024-7254](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-7254)
![](https://img.shields.io/static/v1?label=Product&message=Protocol%20Buffers&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=google-protobuf%20%5BJRuby%20Gem%5D&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=protobuf-java&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=protobuf-javalite&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=protobuf-kotlin&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=protobuf-kotllin-lite&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%2028.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%203.25.5%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-20%20Improper%20Input%20Validation&color=brighgreen)
### Description
Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of SGROUP tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions that can be abused by an attacker.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/phax/ph-db
- https://github.com/th2-net/th2-bom
- https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf