CVE-2024-7254
MySQL vulnerability analysis and mitigation

Overview

CVE-2024-7254 is a vulnerability in Protocol Buffers (protobuf) that was discovered and disclosed in September 2024. The vulnerability affects any project that parses untrusted Protocol Buffers data containing nested groups or series of SGROUP tags. When exploited, it can lead to stack overflow conditions by exceeding the stack limit through unbounded recursions (NVD, ASEC).

Technical details

The vulnerability occurs when parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields. The issue creates unbounded recursions that can be exploited by an attacker. The vulnerability has been assigned a CVSS v4.0 base score of 8.7 (High) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N. The vulnerability is classified under CWE-20 (Improper Input Validation) (NVD).

Impact

Successful exploitation of this vulnerability can lead to Denial of Service (DoS) conditions through stack overflow attacks. The vulnerability affects multiple versions of protobuf-java, protobuf-javalite, protobuf-kotlin, protobuf-kotlin-lite, and JRuby gem com-protobuf packages (ASEC, NetApp).

Mitigation and workarounds

Fixed versions have been released to address this vulnerability. Users should upgrade to protobuf-java version 3.25.5, 4.27.5, or 4.28.2; protobuf-javalite version 3.25.5, 4.27.5, or 4.28.2; protobuf-kotlin version 3.25.5, 4.27.5, or 4.28.2; protobuf-kotlin-lite version 3.25.5, 4.27.5, or 4.28.2; or JRuby gem com-protobuf version 3.25.5, 4.27.5, or 4.28.2 (ASEC).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management