diff --git a/advisories/github-reviewed/2025/07/GHSA-34rf-485x-g5h7/GHSA-34rf-485x-g5h7.json b/advisories/github-reviewed/2025/07/GHSA-34rf-485x-g5h7/GHSA-34rf-485x-g5h7.json new file mode 100644 index 0000000000000..eb5a5173281d7 --- /dev/null +++ b/advisories/github-reviewed/2025/07/GHSA-34rf-485x-g5h7/GHSA-34rf-485x-g5h7.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-34rf-485x-g5h7", + "modified": "2025-07-11T13:07:00Z", + "published": "2025-07-10T18:00:00Z", + "aliases": [ + "CVE-2025-53542" + ], + "summary": "Arbitrary Command Injection in Kubernetes Headlamp macOS Process headlamp@codeSign", + "details": "A command injection vulnerability was discovered in the `codeSign.js` script used in the macOS packaging workflow of the Kubernetes Headlamp project. This issue arises due to the improper use of Node.js’s `execSync()` function with unsanitized input derived from environment variables, which can be influenced by an attacker.\n\nThe vulnerable script `codeSign.js` accepts values from:\n\n- `teamID`\n- `entitlementsPath`\n- `config.app`\n\nThe variables `${teamID}`, `${entitlementsPath}`, and `${config.app}` are dynamically derived from the environment or application config and passed directly to the shell command without proper escaping or argument separation. This exposes the system to command injection if any of the values contain malicious input.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "codeSign.js" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.31.1" + } + ] + } + ], + "versions": [ + "0.31.0" + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7" + }, + { + "type": "FIX", + "url": "https://github.com/kubernetes-sigs/headlamp/releases/tag/v0.31.1" + }, + { + "type": "WEB", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-53542" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-78", + "CWE-88" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-07-10T18:00:00Z", + "nvd_published_at": "2025-07-10T19:45:00Z" + } +}