CVE-2020-11003: @fraction/oasis CSRF And DNS Rebinding Vulnerability
MODERATECVE-2020-11003 is a MODERATE (CVSS 4.8) csrf and dns rebinding vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting @fraction/oasis libraries in the npm ecosystem. The issue involves csrf and dns rebinding in oasis. Remediation is available by upgrading affected packages to version 2.15.0.
CVE-2020-11003 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-11003
To remediate this vulnerability, upgrade all affected @fraction/oasis 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 @fraction/oasis@2.15.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @fraction/oasis
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-11003, inspect your project dependencies using npm:
npm ls @fraction/oasis
Analyze the terminal output to locate any version of @fraction/oasis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.15.0), your application is affected.
Note: The npm ls @fraction/oasis 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In @fraction/oasis, 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-11003 Affected @fraction/oasis Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@fraction/oasis
|
npm |
< 2.15.0
|
2.15.0
|
References
Frequently Asked Questions
What is CVE-2020-11003?
Which @fraction/oasis versions are affected?
What version fixes CVE-2020-11003?
Is @fraction/oasis affected?
What is the CVSS score of CVE-2020-11003?
What CWE is associated with CVE-2020-11003?
How can I check npm dependencies for CVE-2020-11003?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j438-45hc-vjhm",
"modified" : "2021-01-08T20:59:34Z",
"published" : "2020-04-16T03:14:39Z",
"aliases" : [ "CVE-2020-11003" ],
"summary" : "CSRF and DNS Rebinding in Oasis",
"details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nIf you're running a vulnerable application on your computer and an attacker can trick you into visiting a malicious website, they could use [DNS rebinding](https://en.wikipedia.org/wiki/DNS_rebinding) and [CSRF](https://en.wikipedia.org/wiki/Cross-site_request_forgery) attacks to read/write to vulnerable applications. \n\n**There is no evidence that suggests that this has been used in the wild.**\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nYes, 2.15.0.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nNo.\n\n### References\n_Are there any links users can visit to find out more?_\n\nNo.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [fraction/oasis](http://github.com/fraction/oasis)\n* Email me at [christianbundy@fraction.io](mailto:christianbundy@fraction.io)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@fraction/oasis"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.15.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/fraction/oasis/security/advisories/GHSA-j438-45hc-vjhm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11003"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-04-15T22:57:22Z",
"nvd_published_at" : null
}
}