Skip to content

Commit 1a53d1a

Browse files
1 parent 60bf6a8 commit 1a53d1a

File tree

2 files changed

+88
-40
lines changed

2 files changed

+88
-40
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-xh32-3m67-qjgf",
4+
"modified": "2025-06-13T21:54:24Z",
5+
"published": "2025-06-13T09:30:33Z",
6+
"aliases": [
7+
"CVE-2025-22240"
8+
],
9+
"summary": "Salt allows arbitrary directory creation or file deletion",
10+
"details": "Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the “tgt_env” variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "salt"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "3007.0rc1"
29+
},
30+
{
31+
"fixed": "3007.4"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "PyPI",
40+
"name": "salt"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "3006.0rc1"
48+
},
49+
{
50+
"fixed": "3006.12"
51+
}
52+
]
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"type": "ADVISORY",
60+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22240"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3"
65+
},
66+
{
67+
"type": "WEB",
68+
"url": "https://docs.saltproject.io/en/3006/topics/releases/3006.12.html"
69+
},
70+
{
71+
"type": "WEB",
72+
"url": "https://docs.saltproject.io/en/3007/topics/releases/3007.4.html"
73+
},
74+
{
75+
"type": "PACKAGE",
76+
"url": "https://github.com/saltstack/salt"
77+
}
78+
],
79+
"database_specific": {
80+
"cwe_ids": [
81+
"CWE-22"
82+
],
83+
"severity": "MODERATE",
84+
"github_reviewed": true,
85+
"github_reviewed_at": "2025-06-13T21:54:24Z",
86+
"nvd_published_at": "2025-06-13T07:15:21Z"
87+
}
88+
}

advisories/unreviewed/2025/06/GHSA-xh32-3m67-qjgf/GHSA-xh32-3m67-qjgf.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)