LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32825: ZipSlip vulnerability in bblfshd

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.

LowCVSS 2.7Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2021-32825 is a ZipSlip-style issue in bblfshd’s archive unpacking. If an attacker can supply a crafted archive, symbolic link handling may let files be read or written outside the intended extraction folder. Business urgency is generally low because the source rates exploitation conditions as difficult and local/user-assisted.

Executive priority

Treat as a low-priority hygiene fix unless bblfshd processes untrusted archives in sensitive environments. Remediate during normal maintenance, sooner where filesystem exposure is broad.

Technical view

bblfshd before commit 4265465b9b6fb5663c30ee43806126012066aad4 mishandles symbolic links during unpacking. The flaw is mapped to CWE-23 and scored CVSS 3.1 2.7 with local attack vector, high complexity, user interaction, changed scope, and low confidentiality impact.

Likely exposure

Exposure is limited to environments running bblfshd builds older than the referenced fixing commit, especially where attacker-controlled archives can reach the unpacking routine and extracted files are readable afterward.

Exploitation context

The bundle does not cite active exploitation, and the CVE is not in KEV. Public references include an advisory with PoC details, but this assessment avoids operational exploit guidance.

Researcher notes

Key constraints are attacker control of the archive and access to unpacked output. Sources identify the fix commit but do not provide a release-version matrix in the bundle. No KEV listing or cited active exploitation is present.

Mitigation direction

  • Upgrade bblfshd to a build containing commit 4265465b9b6fb5663c30ee43806126012066aad4.
  • Review the linked pull request and commit for vendor-intended remediation context.
  • Avoid processing untrusted archives through vulnerable bblfshd deployments.
  • Run bblfshd with least-privilege filesystem permissions.
  • Check vendor repository guidance if release-version mapping is required.

Validation and detection

  • Inventory all bblfshd deployments and record deployed commit or image provenance.
  • Confirm vulnerable instances are older than commit 4265465b9b6fb5663c30ee43806126012066aad4.
  • Identify workflows where users or automation can provide archive files to bblfshd.
  • Review runtime permissions for unintended filesystem read or write reach.
  • Check logs for unexpected archive unpacking errors or filesystem access anomalies.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-23: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32825 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2.7CVSS 3.1LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N11.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

2.7Low
CVSS 3.1 vector shape for CVE-2021-32825Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
bblfshbblfshd< 4265465b9b6fb5663c30ee43806126012066aad4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-23 · source CWE mapping

Relative Path Traversal

Relative Path Traversal represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.