Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, DragonFly2 uses the os.MkdirAll function to create certain directory paths with specific access permissions. This function does not perform any permission checks when a given directory path already exists. This allows a local attacker to create a directory to be used later by DragonFly2 with broad permissions before DragonFly2 does so, potentially allowing the attacker to tamper with the files. This vulnerability is fixed in 2.1.0.
History

Thu, 18 Sep 2025 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation dragonfly
CPEs cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*
Vendors & Products Linuxfoundation
Linuxfoundation dragonfly
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Thu, 18 Sep 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 18 Sep 2025 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Dragonflyoss
Dragonflyoss dragonfly2
Vendors & Products Dragonflyoss
Dragonflyoss dragonfly2

Wed, 17 Sep 2025 19:45:00 +0000

Type Values Removed Values Added
Description Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, DragonFly2 uses the os.MkdirAll function to create certain directory paths with specific access permissions. This function does not perform any permission checks when a given directory path already exists. This allows a local attacker to create a directory to be used later by DragonFly2 with broad permissions before DragonFly2 does so, potentially allowing the attacker to tamper with the files. This vulnerability is fixed in 2.1.0.
Title Directories created via os.MkdirAll are not checked for permissions
Weaknesses CWE-732
References
Metrics cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-09-17T19:41:03.632Z

Updated: 2025-09-18T17:35:48.904Z

Reserved: 2025-09-12T12:36:24.637Z

Link: CVE-2025-59349

cve-icon Vulnrichment

Updated: 2025-09-18T17:35:46.452Z

cve-icon NVD

Status : Analyzed

Published: 2025-09-17T20:15:37.203

Modified: 2025-09-18T20:17:51.190

Link: CVE-2025-59349

cve-icon Redhat

No data.