CVE-2020-11003: @fraction/oasis CSRF And DNS Rebinding Vulnerability

MODERATE
Advisory Identifier: GHSA-j438-45hc-vjhm
CVSS 4.8
CWE-352
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2020-11003
GHSA Identifier GHSA-j438-45hc-vjhm
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product @fraction/oasis
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

@fraction/oasis fixed: 2.15.0
npm install @fraction/oasis@2.15.0
Verify Direct and Transitive Dependencies

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

### Impact _What kind of vulnerability is it? Who is impacted?_ If 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. **There is no evidence that suggests that this has been used in the wild.** ### Patches _Has the problem been patched? What versions should users upgrade to?_ Yes, 2.15.0. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ No. ### References _Are there any links users can visit to find out more?_ No. ### For more information If you have any questions or comments about this advisory: * Open an issue in [fraction/oasis](http://github.com/fraction/oasis) * Email me at [christianbundy@fraction.io](mailto:christianbundy@fraction.io)

CVE-2020-11003 Affected @fraction/oasis Versions

1 component(s)
Fixed Versions:
2.15.0
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?
CVE-2020-11003 is a security vulnerability in @fraction/oasis involving CSRF and DNS Rebinding in Oasis under CWE-352: Cross-Site Request Forgery (CSRF).
Which @fraction/oasis versions are affected?
Affected versions include releases prior to 2.15.0 across affected packages: @fraction/oasis.
What version fixes CVE-2020-11003?
Upgrading to 2.15.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @fraction/oasis affected?
Yes, @fraction/oasis is affected in releases prior to 2.15.0. Upgrade your dependency to 2.15.0 or later.
What is the CVSS score of CVE-2020-11003?
CVE-2020-11003 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2020-11003?
CVE-2020-11003 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (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.).
How can I check npm dependencies for CVE-2020-11003?
Run the dependency tree command: 'npm ls @fraction/oasis'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}