Lucene search

K
cveGitHub_MCVE-2021-32825
HistoryAug 16, 2021 - 7:15 p.m.

CVE-2021-32825

2021-08-1619:15:14
CWE-23
CWE-59
GitHub_M
web.nvd.nist.gov
32
4
bblfshd
open source
server
source code parsing
vulnerability
zipslip
symbolic links
unpacking
arbitrary file write
ghsl-2020-258
nvd

CVSS2

5.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

AI Score

8.9

Confidence

High

EPSS

0.003

Percentile

69.1%

bblfshd is an open source self-hosted server for source code parsing. In bblfshd before commit 4265465b9b6fb5663c30ee43806126012066aad4 there is a “zipslip” vulnerability. The unsafe handling of symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations outside the designated target folder. This issue may lead to arbitrary file write (with same permissions as the program running the unpack operation) if the attacker can control the archive file. Additionally, if the attacker has read access to the unpacked files, he may be able to read arbitrary system files the parent process has permissions to read. For more details including a PoC see the referenced GHSL-2020-258.

Affected configurations

Nvd
Vulners
Node
bblfshd_projectbblfshdRange<2021-08-11
VendorProductVersionCPE
bblfshd_projectbblfshd*cpe:2.3:a:bblfshd_project:bblfshd:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "bblfshd",
    "vendor": "bblfsh",
    "versions": [
      {
        "status": "affected",
        "version": "< 4265465b9b6fb5663c30ee43806126012066aad4"
      }
    ]
  }
]

Social References

More

CVSS2

5.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

AI Score

8.9

Confidence

High

EPSS

0.003

Percentile

69.1%

Related for CVE-2021-32825