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-2023-45857 (Medium) detected in multiple libraries #326

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

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

CVE-2023-45857 - Medium Severity Vulnerability

Vulnerable Libraries - axios-0.21.4.tgz, axios-0.19.2.tgz, axios-0.18.0.tgz, axios-0.18.1.tgz

axios-0.21.4.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.21.4.tgz

Path to dependency file: /azure-node-telegram-bot/package.json

Path to vulnerable library: /azure-node-telegram-bot/node_modules/@azure/ms-rest-js/node_modules/axios/package.json,/aws-node-twilio-send-text-message/node_modules/axios/package.json,/azure-node-line-bot/node_modules/@azure/ms-rest-js/node_modules/axios/package.json,/aws-node-fullstack/backend/node_modules/axios/package.json

Dependency Hierarchy: - serverless-azure-functions-2.1.3.tgz (Root Library) - arm-resources-1.1.0.tgz - ms-rest-js-1.11.2.tgz - :x: **axios-0.21.4.tgz** (Vulnerable Library)

axios-0.19.2.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.19.2.tgz

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

Path to vulnerable library: /aws-node-typescript-apollo-lambda/node_modules/axios/package.json,/aws-node-http-api-typescript/node_modules/axios/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/axios/package.json,/aws-node-dynamic-image-resizer/node_modules/axios/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/@azure/ms-rest-js/node_modules/axios/package.json,/azure-node-line-bot/node_modules/axios/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/axios/package.json,/aws-rust-simple-http-endpoint/node_modules/axios/package.json,/aws-node-rest-api-typescript-simple/node_modules/axios/package.json,/aws-golang-auth-examples/node_modules/axios/package.json

Dependency Hierarchy: - serverless-1.83.3.tgz (Root Library) - enterprise-plugin-3.8.4.tgz - platform-client-1.1.10.tgz - :x: **axios-0.19.2.tgz** (Vulnerable Library)

axios-0.18.0.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.18.0.tgz

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

Path to vulnerable library: /aws-node-typescript-nest/node_modules/axios/package.json,/aws-node-heroku-postgres/node_modules/axios/package.json

Dependency Hierarchy: - :x: **axios-0.18.0.tgz** (Vulnerable Library)

axios-0.18.1.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.18.1.tgz

Path to dependency file: /azure-node-telegram-bot/package.json

Path to vulnerable library: /azure-node-telegram-bot/node_modules/axios/package.json,/google-node-typescript-http-endpoint/node_modules/axios/package.json,/aws-node-vue-nuxt-ssr/node_modules/axios/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/axios/package.json,/azure-node-line-bot/node_modules/serverless-azure-functions/node_modules/axios/package.json

Dependency Hierarchy: - :x: **axios-0.18.1.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Publish Date: 2023-11-08

URL: CVE-2023-45857

CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-11-08

Fix Resolution (axios): 0.28.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 3 months 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 3 months 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.