CVE-2021-32825

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32825
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32825.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32825
Published
2021-08-16T19:15:14Z
Modified
2025-01-08T10:46:05.981712Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/bblfsh/bblfshd

Affected ranges

Type
GIT
Repo
https://github.com/bblfsh/bblfshd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.5.1
v0.6.0
v0.7.0
v0.7.1

v1.*

v1.0.0
v1.1.0
v1.1.1
v1.2.0

v2.*

v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.10.0
v2.11.0
v2.11.1
v2.11.2
v2.11.3
v2.11.4
v2.11.5
v2.11.6
v2.11.7
v2.11.8
v2.12.0
v2.12.1
v2.13.0
v2.14.0
v2.15.0
v2.16.0
v2.16.1
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.3.1
v2.3.2
v2.4.0
v2.4.1
v2.4.2
v2.4.3
v2.5.0
v2.5.1
v2.5.2
v2.5.3
v2.6.0
v2.6.1
v2.7.0
v2.7.1
v2.7.2
v2.8.0
v2.9.0
v2.9.1
v2.9.2
v2.9.3