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-http-api-typescript/package.json
Path to vulnerable library: /aws-node-http-api-typescript/node_modules/luxon/package.json,/aws-node-rest-api-typescript-simple/node_modules/luxon/package.json,/aws-node-puppeteer/node_modules/luxon/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/luxon/package.json,/aws-node-http-api-dynamodb-local/node_modules/luxon/package.json,/aws-node-rest-api-typescript/node_modules/luxon/package.json
Luxon is a library for working with dates and times in JavaScript. On the 1.x branch prior to 1.38.1, the 2.x branch prior to 2.5.2, and the 3.x branch on 3.2.1, Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks. This issue also appears in Moment as CVE-2022-31129. Versions 1.38.1, 2.5.2, and 3.2.1 contain patches for this issue. As a workaround, limit the length of the input.
CVE-2023-22467 - High Severity Vulnerability
luxon-1.27.0.tgz
Immutable date wrapper
Library home page: https://registry.npmjs.org/luxon/-/luxon-1.27.0.tgz
Path to dependency file: /aws-node-typescript-nest/package.json
Path to vulnerable library: /aws-node-typescript-nest/node_modules/luxon/package.json
Dependency Hierarchy: - serverless-offline-7.0.0.tgz (Root Library) - :x: **luxon-1.27.0.tgz** (Vulnerable Library)
luxon-1.24.1.tgz
Immutable date wrapper
Library home page: https://registry.npmjs.org/luxon/-/luxon-1.24.1.tgz
Path to dependency file: /aws-node-typescript-apollo-lambda/package.json
Path to vulnerable library: /aws-node-typescript-apollo-lambda/node_modules/luxon/package.json
Dependency Hierarchy: - serverless-offline-6.5.0.tgz (Root Library) - :x: **luxon-1.24.1.tgz** (Vulnerable Library)
luxon-1.25.0.tgz
Immutable date wrapper
Library home page: https://registry.npmjs.org/luxon/-/luxon-1.25.0.tgz
Path to dependency file: /azure-node-typescript-servicebus-trigger-endpoint/package.json
Path to vulnerable library: /azure-node-typescript-servicebus-trigger-endpoint/node_modules/luxon/package.json
Dependency Hierarchy: - serverless-offline-6.8.0.tgz (Root Library) - :x: **luxon-1.25.0.tgz** (Vulnerable Library)
luxon-1.28.0.tgz
Immutable date wrapper
Library home page: https://registry.npmjs.org/luxon/-/luxon-1.28.0.tgz
Path to dependency file: /aws-node-http-api-typescript/package.json
Path to vulnerable library: /aws-node-http-api-typescript/node_modules/luxon/package.json,/aws-node-rest-api-typescript-simple/node_modules/luxon/package.json,/aws-node-puppeteer/node_modules/luxon/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/luxon/package.json,/aws-node-http-api-dynamodb-local/node_modules/luxon/package.json,/aws-node-rest-api-typescript/node_modules/luxon/package.json
Dependency Hierarchy: - serverless-offline-6.9.0.tgz (Root Library) - :x: **luxon-1.28.0.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
Luxon is a library for working with dates and times in JavaScript. On the 1.x branch prior to 1.38.1, the 2.x branch prior to 2.5.2, and the 3.x branch on 3.2.1, Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks. This issue also appears in Moment as CVE-2022-31129. Versions 1.38.1, 2.5.2, and 3.2.1 contain patches for this issue. As a workaround, limit the length of the input.
Publish Date: 2023-01-04
URL: CVE-2023-22467
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc
Release Date: 2023-01-04
Fix Resolution (luxon): 1.28.1
Direct dependency fix Resolution (serverless-offline): 7.1.0
Fix Resolution (luxon): 1.28.1
Direct dependency fix Resolution (serverless-offline): 6.6.0
Fix Resolution (luxon): 1.28.1
Direct dependency fix Resolution (serverless-offline): 6.9.0
Fix Resolution (luxon): 1.28.1
Direct dependency fix Resolution (serverless-offline): 7.0.0
Step up your Open Source Security Game with Mend here