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-node-express-api/package.json
Path to vulnerable library: /aws-node-express-api/node_modules/express/package.json,/aws-node-express-dynamodb-api/node_modules/express/package.json,/aws-node-graphql-and-rds/node_modules/express/package.json
Path to dependency file: /aws-node-fullstack/frontend/package.json
Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/express/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/express/package.json,/aws-node-heroku-postgres/node_modules/express/package.json,/aws-node-mongodb-atlas/node_modules/express/package.json
Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.
CVE-2024-43796 - Medium Severity Vulnerability
Vulnerable Libraries - express-4.17.1.tgz, express-4.16.3.tgz, express-4.16.4.tgz
express-4.17.1.tgz
Fast, unopinionated, minimalist web framework
Library home page: https://registry.npmjs.org/express/-/express-4.17.1.tgz
Path to dependency file: /aws-node-express-api/package.json
Path to vulnerable library: /aws-node-express-api/node_modules/express/package.json,/aws-node-express-dynamodb-api/node_modules/express/package.json,/aws-node-graphql-and-rds/node_modules/express/package.json
Dependency Hierarchy: - :x: **express-4.17.1.tgz** (Vulnerable Library)
express-4.16.3.tgz
Fast, unopinionated, minimalist web framework
Library home page: https://registry.npmjs.org/express/-/express-4.16.3.tgz
Path to dependency file: /aws-node-typescript-nest/package.json
Path to vulnerable library: /aws-node-typescript-nest/node_modules/express/package.json
Dependency Hierarchy: - core-5.5.0.tgz (Root Library) - :x: **express-4.16.3.tgz** (Vulnerable Library)
express-4.16.4.tgz
Fast, unopinionated, minimalist web framework
Library home page: https://registry.npmjs.org/express/-/express-4.16.4.tgz
Path to dependency file: /aws-node-fullstack/frontend/package.json
Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/express/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/express/package.json,/aws-node-heroku-postgres/node_modules/express/package.json,/aws-node-mongodb-atlas/node_modules/express/package.json
Dependency Hierarchy: - :x: **express-4.16.4.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
Vulnerability Details
Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.
Publish Date: 2024-09-10
URL: CVE-2024-43796
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/express/security/advisories/GHSA-qw6h-vgh9-j6wx
Release Date: 2024-09-10
Fix Resolution: express - 4.20.0,5.0.0
Step up your Open Source Security Game with Mend here