SecurityContext

CVE-2021-32825: bblfshd - Path Traversal

  • Cve: CVE-2021-32825
  • Name: bblfshd - Path Traversal
  • 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.
  • Impact: Attackers can read or write arbitrary files outside the target directory, potentially leading to system compromise or data leakage.
  • Remediation: Update to commit 4265465b9b6fb5663c30ee43806126012066aad4 or later versions that fix the issue.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00918
  • Epss percentile: 0.60966
  • Assignee: [email protected]
  • Published at: 2021-08-16T19:15:14Z
  • Age in days: 1926
  • Modified at: 2026-06-17T03:53:42Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32825
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-23Relative Path Traversal
CWE-59Improper Link Resolution Before File Access

Public exploits

UrlSourceAdded date
https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/nvd2021-08-16

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4Patch, Third Party Advisory
https://github.com/bblfsh/bblfshd/pull/341Patch, Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
bblfshd_project:bblfshd< 2021-08-11nonvd/v1/products/bblfshd_project/bblfshd

Projects

RepositoryLink kindsIndexedUrl
bblfsh/bblfshdcommit, fix, pullyes/v1/repositories/bblfsh/bblfshd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-08-16
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts