Lucene search

K
cveSnykCVE-2020-7681
HistoryJul 25, 2020 - 9:15 a.m.

CVE-2020-7681

2020-07-2509:15:11
CWE-22
snyk
web.nvd.nist.gov
25
security
vulnerability
marscode
package
fs.readfile
index.js
path sanitization
nvd
cve-2020-7681

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.006

Percentile

79.3%

This affects all versions of package marscode. There is no path sanitization in the path provided at fs.readFile in index.js.

Affected configurations

Nvd
Node
indo-marsmarscodenode.js
VendorProductVersionCPE
indo-marsmarscode*cpe:2.3:a:indo-mars:marscode:*:*:*:*:*:node.js:*:*

CNA Affected

[
  {
    "product": "marscode",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "0",
        "versionType": "custom"
      }
    ]
  }
]

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.006

Percentile

79.3%