Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-1214 (High) detected in axios-0.21.4.tgz #1546

Closed
mend-for-github-com bot opened this issue May 4, 2022 · 1 comment · Fixed by #1552
Closed

CVE-2022-1214 (High) detected in axios-0.21.4.tgz #1546

mend-for-github-com bot opened this issue May 4, 2022 · 1 comment · Fixed by #1552
Assignees
Labels
cve Security vulnerabilities detected by Dependabot or Mend high severity High severity CVE Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

CVE-2022-1214 - High Severity Vulnerability

Vulnerable Library - 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

Dependency Hierarchy:

  • chromedriver-91.0.1.tgz (Root Library)
    • axios-0.21.4.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository axios/axios prior to 0.26.

Publish Date: 2022-05-03

URL: CVE-2022-1214

CVSS 3 Score Details (8.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://huntr.dev/bounties/ef7b4ab6-a3f6-4268-a21a-e7104d344607/

Release Date: 2022-05-03

Fix Resolution: axios - v0.26.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 4, 2022
@tmarkley tmarkley added high severity High severity CVE cve Security vulnerabilities detected by Dependabot or Mend labels May 5, 2022
@tmarkley
Copy link
Contributor

tmarkley commented May 5, 2022

$ yarn why axios
yarn why v1.22.18
[1/4] Why do we have the module "axios"...?
[2/4] Initialising dependency graph...
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@~4.5.2"
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "axios@0.21.4"
info Reasons this module exists
   - "_project_#chromedriver" depends on it
   - Hoisted from "_project_#chromedriver#axios"
   - Hoisted from "_project_#@osd#ui-shared-deps#axios"
   - Hoisted from "_project_#@osd#dev-utils#axios"
info Disk size without dependencies: "512KB"
info Disk size with unique dependencies: "560KB"
info Disk size with transitive dependencies: "560KB"
info Number of shared dependencies: 1
Done in 0.92s.
$ npm ls axios
opensearch-dashboards@3.0.0 /home/ubuntu/ws/OpenSearch-Dashboards
├─┬ @osd/dev-utils@1.0.0 -> /home/ubuntu/ws/OpenSearch-Dashboards/packages/osd-dev-utils
│ └── axios@0.21.4 
├─┬ @osd/ui-shared-deps@1.0.0 -> /home/ubuntu/ws/OpenSearch-Dashboards/packages/osd-ui-shared-deps
│ └── axios@0.21.4  deduped
└─┬ chromedriver@91.0.1
  └── axios@0.21.4  deduped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cve Security vulnerabilities detected by Dependabot or Mend high severity High severity CVE Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants