Path to dependency file: /utility-emissions-channel/typescript_app/package.json
Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/serverless/node_modules/got/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/utils-china/node_modules/got/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/utils/node_modules/got/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/components/node_modules/got/package.json
CVE-2022-33987 - Medium Severity Vulnerability
Vulnerable Libraries - got-7.1.0.tgz, got-9.6.0.tgz, got-11.8.2.tgz
got-7.1.0.tgz
Simplified HTTP requests
Library home page: https://registry.npmjs.org/got/-/got-7.1.0.tgz
Dependency Hierarchy: - web3-1.2.7.tgz (Root Library) - web3-bzz-1.2.7.tgz - swarm-js-0.1.40.tgz - :x: **got-7.1.0.tgz** (Vulnerable Library)
got-9.6.0.tgz
Simplified HTTP requests
Library home page: https://registry.npmjs.org/got/-/got-9.6.0.tgz
Dependency Hierarchy: - nodemon-2.0.12.tgz (Root Library) - update-notifier-4.1.3.tgz - latest-version-5.1.0.tgz - package-json-6.5.0.tgz - :x: **got-9.6.0.tgz** (Vulnerable Library)
got-11.8.2.tgz
Human-friendly and powerful HTTP request library for Node.js
Library home page: https://registry.npmjs.org/got/-/got-11.8.2.tgz
Path to dependency file: /utility-emissions-channel/typescript_app/package.json
Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/serverless/node_modules/got/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/utils-china/node_modules/got/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/utils/node_modules/got/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/components/node_modules/got/package.json
Dependency Hierarchy: - serverless-2.61.0.tgz (Root Library) - :x: **got-11.8.2.tgz** (Vulnerable Library)
Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90
Found in base branch: main
Vulnerability Details
The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.
Publish Date: 2022-06-18
URL: CVE-2022-33987
CVSS 3 Score Details (5.3)
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: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-33987
Release Date: 2022-06-18
Fix Resolution (got): 11.8.6
Direct dependency fix Resolution (web3): 1.7.5
Fix Resolution (got): 11.8.6
Direct dependency fix Resolution (nodemon): 2.0.17
Fix Resolution (got): 11.8.6
Direct dependency fix Resolution (serverless): 2.72.2-c1500451
Step up your Open Source Security Game with Mend here