CVE-2021-32825
Summary
| CVE | CVE-2021-32825 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-08-16 19:15:00 UTC |
| Updated | 2022-07-02 18:22:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-59
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Bblfshd Project | Bblfshd | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| untar: add check on link · bblfsh/bblfshd@4265465 · GitHub | MISC | github.com | |
| Bugfix ghsl 2020 258 by david972 · Pull Request #341 · bblfsh/bblfshd · GitHub | MISC | github.com | |
| GHSL-2020-258: ZipSlip vulnerability in bblfshd - CVE-2021-32825 | GitHub Security Lab | CONFIRM | securitylab.github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.