CVE-2021-32825
CVSS V2 Medium 5.5
CVSS V3 Critical 9.1
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.
Overview
- CVE ID
- CVE-2021-32825
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-16T19:15:14
- Last Modified Date
- 2022-07-02T18:22:01
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:bblfshd_project:bblfshd:*:*:*:*:*:*:*:* | 1 | OR | 2021-08-11 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 9.1
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.2
References
Reference URL | Reference Tags |
---|---|
https://github.com/bblfsh/bblfshd/pull/341 | Patch Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2020-258-zipslip-bblfshd/ | Exploit Third Party Advisory |
https://github.com/bblfsh/bblfshd/commit/4265465b9b6fb5663c30ee43806126012066aad4 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32825 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32825 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:56:08 | Added to TrackCVE | |||
2022-12-05 08:19:56 | 2021-08-16T19:15Z | 2021-08-16T19:15:14 | CVE Published Date | updated |
2022-12-05 08:19:56 | 2022-07-02T18:22:01 | CVE Modified Date | updated | |
2022-12-05 08:19:56 | Analyzed | Vulnerability Status | updated |