Lucene search

K
cve[email protected]CVE-2020-36560
HistoryDec 27, 2022 - 10:15 p.m.

CVE-2020-36560

2022-12-2722:15:11
CWE-22
web.nvd.nist.gov
43
cve-2020-36560
path sanitization
file writing
security vulnerability

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.1 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

51.8%

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Affected configurations

NVD
Node
go-unzip_projectgo-unzipRange<1.0.0go

CNA Affected

[
  {
    "vendor": "github.com/artdarek/go-unzip",
    "product": "github.com/artdarek/go-unzip",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "github.com/artdarek/go-unzip",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.0.0",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "Unzip.Extract"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.1 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

51.8%

Related for CVE-2020-36560