Lucene search

K
githubGitHub Advisory DatabaseGHSA-VPX7-VM66-QX8R
HistoryMay 18, 2021 - 8:31 p.m.

Path Traversal in github.com/unknwon/cae/zip

2021-05-1820:31:06
CWE-22
GitHub Advisory Database
github.com
28
path traversal
github.com/unknwon/cae/zip
extractto function
zip archives
file manipulation
software

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.001

Percentile

43.5%

The ExtractTo function doesn’t securely escape file paths in zip archives which include leading or non-leading “…”. This allows an attacker to add or replace files system-wide.

Specific Go Packages Affected

github.com/unknwon/cae/zip

Affected configurations

Vulners
Node
unknwoncaeRange<1.0.1
VendorProductVersionCPE
unknwoncae*cpe:2.3:a:unknwon:cae:*:*:*:*:*:*:*:*

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.001

Percentile

43.5%

Related for GHSA-VPX7-VM66-QX8R