CVE-2021-32825
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 2.7 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-23
- Record status
- Modified
Affected
- Bblfshd Project Bblfshd < 2021-08-11
Attack profile CVSS 3.1 · 2.7
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-32825.md and follow it. Check whether this project is affected by CVE-2021-32825. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
- https://github.com/bblfsh/bblfshd/pull/341
- https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
- https://github.com/bblfsh/bblfshd/pull/341
References
- https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
- https://github.com/bblfsh/bblfshd/pull/341
- https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/
- https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4
- https://github.com/bblfsh/bblfshd/pull/341
- https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/