Lucene search

K
vulnrichmentGoogleVULNRICHMENT:CVE-2024-7254
HistorySep 19, 2024 - 12:18 a.m.

CVE-2024-7254 Stack overflow in Protocol Buffers Java Lite

2024-09-1900:18:45
CWE-20
Google
github.com
cve-2024-7254
protocol buffers
java lite
stack overflow
untrusted data
nested groups
sgroup tags
discardunknownfieldsparser
map fields
attacker.

CVSS4

8.7

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/SC:N/VI:N/SI:N/VA:H/SA:N

AI Score

7.3

Confidence

Low

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:google:protobuf:*:*:*:*:*:*:*:*"
    ],
    "vendor": "google",
    "product": "protobuf",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "28.2",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unaffected"
  },
  {
    "cpes": [
      "cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*",
      "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
      "cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*",
      "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
      "cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*"
    ],
    "vendor": "google",
    "product": "protobuf-kotlin-lite",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.25.5",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.27",
        "lessThan": "4.27.5",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.28",
        "lessThan": "4.28.2",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

CVSS4

8.7

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/SC:N/VI:N/SI:N/VA:H/SA:N

AI Score

7.3

Confidence

Low

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-7254