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-2024-43800 (Medium) detected in serve-static-1.13.2.tgz, serve-static-1.14.1.tgz #400

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

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

CVE-2024-43800 - Medium Severity Vulnerability

Vulnerable Libraries - serve-static-1.13.2.tgz, serve-static-1.14.1.tgz

serve-static-1.13.2.tgz

Serve static files

Library home page: https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz

Path to dependency file: /aws-node-typescript-nest/package.json

Path to vulnerable library: /aws-node-typescript-nest/node_modules/serve-static/package.json,/aws-node-heroku-postgres/node_modules/serve-static/package.json,/aws-node-fullstack/frontend/node_modules/serve-static/package.json,/aws-node-mongodb-atlas/node_modules/serve-static/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/serve-static/package.json

Dependency Hierarchy: - core-5.5.0.tgz (Root Library) - express-4.16.3.tgz - :x: **serve-static-1.13.2.tgz** (Vulnerable Library)

serve-static-1.14.1.tgz

Serve static files

Library home page: https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz

Path to dependency file: /aws-node-express-dynamodb-api/package.json

Path to vulnerable library: /aws-node-express-dynamodb-api/node_modules/serve-static/package.json,/aws-node-graphql-and-rds/node_modules/serve-static/package.json,/aws-node-vue-nuxt-ssr/node_modules/serve-static/package.json,/aws-node-express-api/node_modules/serve-static/package.json

Dependency Hierarchy: - graphql-yoga-1.17.4.tgz (Root Library) - express-4.17.1.tgz - :x: **serve-static-1.14.1.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.

Publish Date: 2024-09-10

URL: CVE-2024-43800

CVSS 3 Score Details (5.0)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p

Release Date: 2024-09-10

Fix Resolution: serve-static - 1.16.0,2.1.0


Step up your Open Source Security Game with Mend here