Open mend-bolt-for-github[bot] opened 1 year 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.
: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.
CVE-2022-24999 - High Severity Vulnerability
Vulnerable Libraries - qs-6.10.1.tgz, qs-6.8.0.tgz, qs-6.7.0.tgz, qs-6.0.4.tgz, qs-6.5.2.tgz, qs-6.5.1.tgz
qs-6.10.1.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.10.1.tgz
Path to dependency file: /aws-node-puppeteer/package.json
Path to vulnerable library: /aws-node-puppeteer/node_modules/qs/package.json,/aws-node-sqs-worker/node_modules/qs/package.json,/google-node-simple-http-endpoint/node_modules/qs/package.json,/aws-ruby-sqs-with-dynamodb/src/node_modules/qs/package.json,/aws-node-twilio-send-text-message/node_modules/qs/package.json,/google-golang-simple-http-endpoint/node_modules/qs/package.json,/google-python-simple-http-endpoint/node_modules/qs/package.json,/aws-python-sqs-worker/node_modules/qs/package.json,/aws-node-signed-uploads/node_modules/qs/package.json,/aws-node-vue-nuxt-ssr/node_modules/qs/package.json,/google-node-typescript-http-endpoint/node_modules/qs/package.json
Dependency Hierarchy: - nuxt-2.15.8.tgz (Root Library) - telemetry-1.3.6.tgz - git-url-parse-11.6.0.tgz - git-up-4.0.5.tgz - parse-url-6.0.0.tgz - parse-path-4.0.3.tgz - :x: **qs-6.10.1.tgz** (Vulnerable Library)
qs-6.8.0.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.8.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/qs/package.json
Dependency Hierarchy: - markdown-magic-0.1.25.tgz (Root Library) - sync-request-3.0.1.tgz - then-request-2.2.0.tgz - :x: **qs-6.8.0.tgz** (Vulnerable Library)
qs-6.7.0.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.7.0.tgz
Path to dependency file: /aws-node-graphql-and-rds/package.json
Path to vulnerable library: /aws-node-graphql-and-rds/node_modules/qs/package.json,/aws-node-express-dynamodb-api/node_modules/qs/package.json,/aws-node-express-api/node_modules/qs/package.json,/azure-node-line-bot/node_modules/qs/package.json
Dependency Hierarchy: - graphql-yoga-1.17.4.tgz (Root Library) - express-4.17.1.tgz - :x: **qs-6.7.0.tgz** (Vulnerable Library)
qs-6.0.4.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.0.4.tgz
Path to dependency file: /aws-node-stripe-integration/package.json
Path to vulnerable library: /aws-node-stripe-integration/node_modules/qs/package.json
Dependency Hierarchy: - stripe-4.25.0.tgz (Root Library) - :x: **qs-6.0.4.tgz** (Vulnerable Library)
qs-6.5.2.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.5.2.tgz
Path to dependency file: /aws-node-oauth-dropbox-api/package.json
Path to vulnerable library: /aws-node-oauth-dropbox-api/node_modules/qs/package.json,/aws-node-dynamic-image-resizer/node_modules/qs/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/qs/package.json,/aws-node-scheduled-weather/node_modules/qs/package.json,/aws-node-mongodb-atlas/node_modules/qs/package.json,/aws-node-twitter-joke-bot/node_modules/qs/package.json,/aws-node-github-check/node_modules/qs/package.json,/aws-rust-simple-http-endpoint/node_modules/qs/package.json,/aws-golang-auth-examples/node_modules/qs/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/qs/package.json,/aws-node-serverless-gong/node_modules/qs/package.json,/aws-node-heroku-postgres/node_modules/qs/package.json,/aws-node-auth0-cognito-custom-authorizers-api/node_modules/qs/package.json,/aws-node-rest-api-typescript-simple/node_modules/qs/package.json,/azure-node-line-bot/node_modules/request/node_modules/qs/package.json,/kubeless-python-simple-function/node_modules/qs/package.json,/azure-node-telegram-bot/node_modules/qs/package.json,/aws-node-http-api-typescript/node_modules/qs/package.json,/aws-node-typescript-apollo-lambda/node_modules/qs/package.json,/kubeless-python-simple-scheduled-function/node_modules/qs/package.json,/aws-node-fullstack/frontend/node_modules/qs/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/qs/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/qs/package.json,/aws-node-telegram-echo-bot/node_modules/qs/package.json,/aws-node-typescript-nest/node_modules/qs/package.json
Dependency Hierarchy: - twitter-1.7.1.tgz (Root Library) - request-2.88.0.tgz - :x: **qs-6.5.2.tgz** (Vulnerable Library)
qs-6.5.1.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.5.1.tgz
Path to dependency file: /aws-node-typescript-nest/package.json
Path to vulnerable library: /aws-node-typescript-nest/node_modules/express/node_modules/qs/package.json
Dependency Hierarchy: - core-5.5.0.tgz (Root Library) - express-4.16.3.tgz - :x: **qs-6.5.1.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
Vulnerability Details
qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used. In many typical Express use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[__proto__]=b&a[__proto__]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4 (and therefore Express 4.17.3, which has "deps: qs@6.9.7" in its release description, is not vulnerable).
Publish Date: 2022-11-26
URL: CVE-2022-24999
CVSS 3 Score Details (7.5)
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.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2022-24999
Release Date: 2022-11-26
Fix Resolution (qs): 6.10.3
Direct dependency fix Resolution (nuxt): 2.16.0
Fix Resolution (qs): 6.10.3
Direct dependency fix Resolution (markdown-magic): 0.2.0
Fix Resolution (qs): 6.10.3
Direct dependency fix Resolution (graphql-yoga): 1.18.0
Fix Resolution (qs): 6.10.3
Direct dependency fix Resolution (stripe): 5.0.0
Fix Resolution (qs): 6.10.3
Direct dependency fix Resolution (@nestjs/core): 5.6.0
Step up your Open Source Security Game with Mend here