CVE-2021-32825

Vulnérabilité faible dans bblfshd (bblfsh)

CVSS 2.7 · Faible
EPSS 0.9%
bblfsh•bblfshd•Versions : < 4265465b9b6fb5663c30ee43806126012066aad4

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.

Gravité et risque d'exploitation

CVE-2021-32825 obtient un score CVSS de 2.7/10, soit une gravité faible. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.92 %, ce qui la place devant 59.6 % des CVE référencées.

Que faire ?

  • Vérifiez si bblfshd (versions < 4265465b9b6fb5663c30ee43806126012066aad4) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références