CVE-2021-32825 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4 | CVE | PatchThird Party Advisory |
| https://github.com/bblfsh/bblfshd/pull/341 | CVE | PatchThird Party Advisory |
| https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/ | CVE | ExploitThird Party Advisory |
| https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4 | [email protected] | PatchThird Party Advisory |
| https://github.com/bblfsh/bblfshd/pull/341 | [email protected] | PatchThird Party Advisory |
| https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
| CWE-23 | Relative Path Traversal | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bblfshd project bblfshd | < 2021-08-11 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 2, 2022 | Reanalysis | [email protected] |
| Aug 24, 2021 | Initial Analysis | [email protected] |