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 dependency file: /aws-rust-simple-http-endpoint/package.json
Path to vulnerable library: /aws-rust-simple-http-endpoint/node_modules/protobufjs/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/protobufjs/package.json,/aws-node-dynamic-image-resizer/node_modules/protobufjs/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/protobufjs/package.json,/aws-golang-auth-examples/node_modules/protobufjs/package.json,/aws-node-http-api-typescript/node_modules/protobufjs/package.json,/aws-node-rest-api-typescript-simple/node_modules/protobufjs/package.json
"protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 allows Prototype Pollution, a different vulnerability than CVE-2022-25878. A user-controlled protobuf message can be used by an attacker to pollute the prototype of Object.prototype by adding and overwriting its data and functions. Exploitation can involve: (1) using the function parse to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty.
CVE-2023-36665 - Critical Severity Vulnerability
protobufjs-6.10.1.tgz
Protocol Buffers for JavaScript (& TypeScript).
Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.1.tgz
Path to dependency file: /aws-node-typescript-apollo-lambda/package.json
Path to vulnerable library: /aws-node-typescript-apollo-lambda/node_modules/protobufjs/package.json
Dependency Hierarchy: - serverless-1.79.0.tgz (Root Library) - components-2.34.6.tgz - platform-client-china-1.0.33.tgz - utils-china-0.1.23.tgz - :x: **protobufjs-6.10.1.tgz** (Vulnerable Library)
protobufjs-6.11.2.tgz
Protocol Buffers for JavaScript (& TypeScript).
Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz
Path to dependency file: /aws-rust-simple-http-endpoint/package.json
Path to vulnerable library: /aws-rust-simple-http-endpoint/node_modules/protobufjs/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/protobufjs/package.json,/aws-node-dynamic-image-resizer/node_modules/protobufjs/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/protobufjs/package.json,/aws-golang-auth-examples/node_modules/protobufjs/package.json,/aws-node-http-api-typescript/node_modules/protobufjs/package.json,/aws-node-rest-api-typescript-simple/node_modules/protobufjs/package.json
Dependency Hierarchy: - serverless-1.83.3.tgz (Root Library) - components-2.34.9.tgz - platform-client-china-1.1.0.tgz - utils-china-0.1.28.tgz - :x: **protobufjs-6.11.2.tgz** (Vulnerable Library)
Found in base branch: master
"protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 allows Prototype Pollution, a different vulnerability than CVE-2022-25878. A user-controlled protobuf message can be used by an attacker to pollute the prototype of Object.prototype by adding and overwriting its data and functions. Exploitation can involve: (1) using the function parse to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty.
Publish Date: 2023-07-05
URL: CVE-2023-36665
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-36665
Release Date: 2023-07-05
Fix Resolution (protobufjs): 6.11.4
Direct dependency fix Resolution (serverless): 1.80.0-06ed01b8
Fix Resolution (protobufjs): 6.11.4
Direct dependency fix Resolution (serverless): 2.0.0-05627d62
Step up your Open Source Security Game with Mend here