Path Traversal in Bblfsh Bblfshd
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.
EPSS: 0.009 (56.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 2.7 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N.
Affected products
- Bblfsh Bblfshd — versions < 4265465b9b6fb5663c30ee43806126012066aad4
- Bblfshd_project Bblfshd
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-32825?
- CVE-2021-32825 is a low-severity vulnerability in Bblfsh Bblfshd, classified under Relative Path Traversal. CVSS score: 2.7/10. Published 2021-08-16.
- How severe is CVE-2021-32825?
- Low severity. CVSS v3 base score is 2.7 out of 10.