CVE-2019-1020013: Parse server Sensitive Data Exposure Vulnerability

MODERATE
Advisory Identifier: GHSA-8w3j-g983-8jh5
CVSS 5.3
CWE-209
Published
Advisory Summary

CVE-2019-1020013 is a MODERATE (CVSS 5.3) sensitive data exposure vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Parse server libraries in the npm ecosystem. The issue involves sensitive data exposure in parse-server. Remediation is available by upgrading affected packages to version 3.6.0.

CVE-2019-1020013 at a Glance

CVE Identifier CVE-2019-1020013
GHSA Identifier GHSA-8w3j-g983-8jh5
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Parse server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2019-1020013

To remediate this vulnerability, upgrade all affected Parse server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

parse-server fixed: 3.6.0
npm install parse-server@3.6.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 parse-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2019-1020013, inspect your project dependencies using npm:

npm ls parse-server

Analyze the terminal output to locate any version of Parse server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.0), your application is affected.

Note: The npm ls parse-server 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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Parse server, 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

Versions of parse-server prior to 3.6.0 could allow an account enumeration attack via account linking. `ParseError.ACCOUNT_ALREADY_LINKED(208)` was thrown BEFORE the AuthController checks the password and throws a `ParseError.SESSION_MISSING(206)` for Insufficient auth. An attacker can guess ids and get information about linked accounts/email addresses. ### For more information If you have any questions or comments about this advisory, Open an issue in the [parse-server](https://github.com/parse-community/parse-server) [Parse Community Vulnerability Disclosure Program](https://github.com/parse-community/parse-server/blob/master/SECURITY.md)

CVE-2019-1020013 Affected Parse server Versions

1 component(s)
Fixed Versions:
3.6.0
Product / Package Ecosystem Affected Versions Fixed Version
parse-server
npm
< 3.6.0
3.6.0

References

Frequently Asked Questions

What is CVE-2019-1020013?
CVE-2019-1020013 is a security vulnerability in Parse server involving Sensitive Data Exposure in parse-server under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Parse server versions are affected?
Affected versions include releases prior to 3.6.0 across affected packages: parse-server.
What version fixes CVE-2019-1020013?
Upgrading to 3.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is parse-server affected?
Yes, parse-server is affected in releases prior to 3.6.0. Upgrade your dependency to 3.6.0 or later.
What is the CVSS score of CVE-2019-1020013?
CVE-2019-1020013 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2019-1020013?
CVE-2019-1020013 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check npm dependencies for CVE-2019-1020013?
Run the dependency tree command: 'npm ls parse-server'. 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-8w3j-g983-8jh5",
  "modified" : "2021-06-11T15:37:15Z",
  "published" : "2019-07-11T14:23:09Z",
  "aliases" : [ "CVE-2019-1020013" ],
  "summary" : "Sensitive Data Exposure in parse-server",
  "details" : "Versions of parse-server prior to 3.6.0 could allow an account enumeration attack via account linking.\n`ParseError.ACCOUNT_ALREADY_LINKED(208)` was thrown BEFORE the AuthController checks the password and throws a `ParseError.SESSION_MISSING(206)` for Insufficient auth.  An attacker can guess ids and get information about linked accounts/email addresses.\n\n### For more information\nIf you have any questions or comments about this advisory,\nOpen an issue in the [parse-server](https://github.com/parse-community/parse-server)\n[Parse Community Vulnerability Disclosure Program](https://github.com/parse-community/parse-server/blob/master/SECURITY.md)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "parse-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server/security/advisories/GHSA-8w3j-g983-8jh5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1020013"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parse-community/parse-server/commit/73b0f9a339b81f5d757725dc557955a7b670a3ec"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-8w3j-g983-8jh5"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/SNYK-JS-PARSESERVER-455637"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/1114"
  }, {
    "type" : "WEB",
    "url" : "https://www.owasp.org/index.php/Testing_for_User_Enumeration_and_Guessable_User_Account_(OWASP-AT-002)#Description_of_the_Issue"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:26:49Z",
    "nvd_published_at" : null
  }
}