CVE-2021-32825

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:bblfshd_project:bblfshd:*:*:*:*:*:*:*:*

History

02 Jul 2022, 18:22

Type Values Removed Values Added
CWE CWE-22 CWE-59

24 Aug 2021, 17:48

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.5
v3 : 9.1
CPE cpe:2.3:a:bblfshd_project:bblfshd:*:*:*:*:*:*:*:*
CWE CWE-22
References (CONFIRM) https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/ - (CONFIRM) https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/ - Exploit, Third Party Advisory
References (MISC) https://github.com/bblfsh/bblfshd/pull/341 - (MISC) https://github.com/bblfsh/bblfshd/pull/341 - Patch, Third Party Advisory
References (MISC) https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4 - (MISC) https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4 - Patch, Third Party Advisory

16 Aug 2021, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-16 19:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-32825

Mitre link : CVE-2021-32825

CVE.ORG link : CVE-2021-32825


JSON object : View

Products Affected

bblfshd_project

  • bblfshd
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-23

Relative Path Traversal