CVE-2021-32825 json
ZipSlip vulnerability in bblfshd
published 2021-08-16 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-19567
- cvss
- 2.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bblfshd_project bblfshd 2021-08-11
- github.com/bblfsh/bblfshd@4265465 commit
- github.com/bblfsh/bblfshd#341 pull request
Exploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected products
- bblfsh bblfshd
Classification
References
-
github.com
/bblfsh/bblfshd/pull/341
patch, third-party-advisory
-
github.com
/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
patch, third-party-advisory
-
securitylab.github.com
/advisories/GHSL-2020-258-zipslip-bblfshd/
exploit, third-party-advisory
Sources
- CVE List CVE-2021-32825
- NVD CVE-2021-32825
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.