CVE-2020-8205: @uppy/companion Server-Side Request Forgery Vulnerability
HIGHCVE-2020-8205 is a HIGH (CVSS 7.5) server-side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting @uppy/companion libraries in the npm ecosystem. The issue involves server-side request forgery in @uppy/companion. Remediation is available by upgrading affected packages to version 1.13.2, 2.0.0-alpha.5.
CVE-2020-8205 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-8205
To remediate this vulnerability, upgrade all affected @uppy/companion dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @uppy/companion@1.13.2
npm install @uppy/companion@2.0.0-alpha.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @uppy/companion
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-8205, inspect your project dependencies using npm:
npm ls @uppy/companion
Analyze the terminal output to locate any version of @uppy/companion in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.2), your application is affected.
Note: The npm ls @uppy/companion command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In @uppy/companion, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-8205 Affected @uppy/companion Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@uppy/companion
|
npm |
< 1.13.2
|
1.13.2
|
|
@uppy/companion
|
npm |
≥ 2.0.0-alpha.0
< 2.0.0-alpha.5
|
2.0.0-alpha.5
|
References
Frequently Asked Questions
What is CVE-2020-8205?
Which @uppy/companion versions are affected?
What version fixes CVE-2020-8205?
Is @uppy/companion affected?
What is the CVSS score of CVE-2020-8205?
What CWE is associated with CVE-2020-8205?
How can I check npm dependencies for CVE-2020-8205?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9m4x-8w29-r78g",
"modified" : "2023-09-13T19:18:38Z",
"published" : "2020-08-13T18:54:19Z",
"aliases" : [ "CVE-2020-8205" ],
"summary" : "Server-Side Request Forgery in @uppy/companion",
"details" : "The @uppy/companion npm package before versions 1.13.2 and 2.0.0-alpha.5 is vulnerable to a Server-Side Request Forgery (SSRF) vulnerability, which allows an attacker to scan local or external networks or otherwise interact with internal systems.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@uppy/companion"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.13.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@uppy/companion"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-alpha.0"
}, {
"fixed" : "2.0.0-alpha.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.0.0-alpha.4"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8205"
}, {
"type" : "WEB",
"url" : "https://github.com/transloadit/uppy/pull/2322/commits/dbf2f4f30aeaf3bcc5971bb867bb0b5984084828"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/891270"
}, {
"type" : "WEB",
"url" : "https://github.com/transloadit/uppy/blob/master/CHANGELOG.md#1161"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-13T18:54:01Z",
"nvd_published_at" : null
}
}