CVE-2024-7254

Stack overflow in Protocol Buffers Java Lite

HIGH 8.7

En bref

Source
NVD
EPSS
EPSS 2.77 % · centile 86 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Google
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-400 — Consommation de ressources non maîtrisée (déni de service)
  • CWE-674 — Récursion non maîtrisée
  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 4.0HIGH 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NGoogle
CVSS 4.0HIGH 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cve-coordination@google.com (Secondary)
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Google · Protocol Buffersaffected 0 < 28.2
Google · protobuf-javaaffected 0 < 3.25.5 ; affected 0 < 4.27.5 ; affected 0 < 4.28.2
Google · protobuf-javaliteaffected 0 < 3.25.5 ; affected 0 < 4.27.5 ; affected 0 < 4.28.2
Google · protobuf-kotlinaffected 0 < 3.25.5 ; affected 0 < 4.27.5 ; affected 0 < 4.28.2
Google · protobuf-kotllin-liteaffected 0 < 3.25.5 ; affected 0 < 4.27.5 ; affected 0 < 4.28.2
Google · google-protobuf [JRuby Gem]affected 0 < 3.25.5 ; affected 0 < 4.27.5 ; affected 0 < 4.28.2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD