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

CVE-2022-24066 (High) detected in simple-git-1.132.0.tgz, simple-git-2.47.0.tgz #226

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

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

CVE-2022-24066 - High Severity Vulnerability

Vulnerable Libraries - simple-git-1.132.0.tgz, simple-git-2.47.0.tgz

simple-git-1.132.0.tgz

Simple GIT interface for node.js

Library home page: https://registry.npmjs.org/simple-git/-/simple-git-1.132.0.tgz

Path to dependency file: /aws-node-dynamic-image-resizer/package.json

Path to vulnerable library: /aws-node-dynamic-image-resizer/node_modules/simple-git/package.json,/aws-golang-auth-examples/node_modules/simple-git/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/simple-git/package.json,/aws-node-http-api-typescript/node_modules/simple-git/package.json,/aws-node-rest-api-typescript-simple/node_modules/simple-git/package.json,/aws-node-typescript-apollo-lambda/node_modules/simple-git/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/simple-git/package.json,/aws-rust-simple-http-endpoint/node_modules/simple-git/package.json

Dependency Hierarchy: - serverless-1.83.3.tgz (Root Library) - enterprise-plugin-3.8.4.tgz - :x: **simple-git-1.132.0.tgz** (Vulnerable Library)

simple-git-2.47.0.tgz

Simple GIT interface for node.js

Library home page: https://registry.npmjs.org/simple-git/-/simple-git-2.47.0.tgz

Path to dependency file: /aws-node-fullstack/backend/package.json

Path to vulnerable library: /aws-node-fullstack/backend/node_modules/simple-git/package.json

Dependency Hierarchy: - enterprise-plugin-4.6.0.tgz (Root Library) - :x: **simple-git-2.47.0.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.

Publish Date: 2022-04-01

URL: CVE-2022-24066

CVSS 3 Score Details (8.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-28xr-mwxg-3qc8

Release Date: 2022-04-01

Fix Resolution (simple-git): 3.5.0

Direct dependency fix Resolution (serverless): 2.0.0-05627d62


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 month 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 1 month 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.