artkamote / examples

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.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

WS-2022-0008 (Medium) detected in multiple libraries #206

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

WS-2022-0008 - Medium Severity Vulnerability

Vulnerable Libraries - node-forge-0.10.0.tgz, node-forge-0.7.5.tgz, node-forge-0.7.6.tgz

node-forge-0.10.0.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz

Path to dependency file: /google-golang-simple-http-endpoint/package.json

Path to vulnerable library: /google-golang-simple-http-endpoint/node_modules/node-forge/package.json,/google-python-simple-http-endpoint/node_modules/node-forge/package.json,/google-node-typescript-http-endpoint/node_modules/node-forge/package.json,/google-node-simple-http-endpoint/node_modules/node-forge/package.json

Dependency Hierarchy: - serverless-google-cloudfunctions-2.4.3.tgz (Root Library) - googleapis-39.2.0.tgz - google-auth-library-3.1.2.tgz - gtoken-2.3.3.tgz - google-p12-pem-1.0.5.tgz - :x: **node-forge-0.10.0.tgz** (Vulnerable Library)

node-forge-0.7.5.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz

Path to dependency file: /aws-node-oauth-dropbox-api/package.json

Path to vulnerable library: /aws-node-oauth-dropbox-api/node_modules/node-forge/package.json,/aws-node-fullstack/frontend/node_modules/node-forge/package.json

Dependency Hierarchy: - serverless-1.27.3.tgz (Root Library) - :x: **node-forge-0.7.5.tgz** (Vulnerable Library)

node-forge-0.7.6.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.7.6.tgz

Path to dependency file: /aws-node-signed-uploads/package.json

Path to vulnerable library: /aws-node-signed-uploads/node_modules/node-forge/package.json

Dependency Hierarchy: - serverless-1.26.1.tgz (Root Library) - :x: **node-forge-0.7.6.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The forge.debug API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised. It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way.

Publish Date: 2024-11-03

URL: WS-2022-0008

CVSS 3 Score Details (6.6)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: High - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-5rrq-pxf6-6jx5

Release Date: 2024-11-03

Fix Resolution (node-forge): 1.0.0

Direct dependency fix Resolution (serverless-google-cloudfunctions): 3.1.0

Fix Resolution (node-forge): 1.0.0

Direct dependency fix Resolution (serverless): 1.28.0

Fix Resolution (node-forge): 1.0.0

Direct dependency fix Resolution (serverless): 1.28.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 3 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 3 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.