Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
Path to vulnerable library: /azure-node-typescript-servicebus-trigger-endpoint/node_modules/serverless-azure-functions/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar,/azure-node-telegram-bot/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar,/azure-node-line-bot/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar
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.
CVE-2024-7254 - High Severity Vulnerability
Vulnerable Library - protobuf-java-3.7.1.jar
Core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
Library home page: https://developers.google.com/protocol-buffers/
Path to vulnerable library: /azure-node-typescript-servicebus-trigger-endpoint/node_modules/serverless-azure-functions/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar,/azure-node-telegram-bot/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar,/azure-node-line-bot/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/azure-functions-core-tools/bin/workers/java/lib/protobuf-java-3.7.1.jar
Dependency Hierarchy: - :x: **protobuf-java-3.7.1.jar** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2024-09-19
URL: CVE-2024-7254
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-7254
Release Date: 2024-09-19
Fix Resolution: 3.25.5
Step up your Open Source Security Game with Mend here