Search
Find a vulnerability
Search criteria
2 vulnerabilities found for headlamp by kubernetes-sigs
CVE-2025-53542 (GCVE-0-2025-53542)
Vulnerability from nvd – Published: 2025-07-10 18:20 – Updated: 2025-07-10 19:03
VLAI
Title
Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign
Summary
Headlamp is an extensible Kubernetes web UI. 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. The 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. This vulnerability is fixed in 0.31.1.
Severity
7.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/kubernetes-sigs/headlamp/secur… | x_refsource_CONFIRM |
| https://github.com/kubernetes-sigs/headlamp/pull/3377 | x_refsource_MISC |
| https://github.com/kubernetes-sigs/headlamp/commi… | x_refsource_MISC |
| https://advisory.zerodaysec.org/advisory/kubernet… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| kubernetes-sigs | headlamp |
Affected:
< 0.31.1
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-53542",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-07-10T19:02:44.021709Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-07-10T19:03:00.522Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "headlamp",
"vendor": "kubernetes-sigs",
"versions": [
{
"status": "affected",
"version": "\u003c 0.31.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Headlamp is an extensible Kubernetes web UI. 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\u0027s execSync() function with unsanitized input derived from environment variables, which can be influenced by an attacker. The 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. This vulnerability is fixed in 0.31.1."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-88",
"description": "CWE-88: Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-07-10T18:20:21.446Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7"
},
{
"name": "https://github.com/kubernetes-sigs/headlamp/pull/3377",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kubernetes-sigs/headlamp/pull/3377"
},
{
"name": "https://github.com/kubernetes-sigs/headlamp/commit/5bc0a9dd87acdf1e04be14619acde687eefa35fb",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kubernetes-sigs/headlamp/commit/5bc0a9dd87acdf1e04be14619acde687eefa35fb"
},
{
"name": "https://advisory.zerodaysec.org/advisory/kubernetes-headlamp-code-signing",
"tags": [
"x_refsource_MISC"
],
"url": "https://advisory.zerodaysec.org/advisory/kubernetes-headlamp-code-signing"
}
],
"source": {
"advisory": "GHSA-34rf-485x-g5h7",
"discovery": "UNKNOWN"
},
"title": "Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2025-53542",
"datePublished": "2025-07-10T18:20:21.446Z",
"dateReserved": "2025-07-02T15:15:11.515Z",
"dateUpdated": "2025-07-10T19:03:00.522Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2025-53542 (GCVE-0-2025-53542)
Vulnerability from cvelistv5 – Published: 2025-07-10 18:20 – Updated: 2025-07-10 19:03
VLAI
Title
Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign
Summary
Headlamp is an extensible Kubernetes web UI. 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. The 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. This vulnerability is fixed in 0.31.1.
Severity
7.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/kubernetes-sigs/headlamp/secur… | x_refsource_CONFIRM |
| https://github.com/kubernetes-sigs/headlamp/pull/3377 | x_refsource_MISC |
| https://github.com/kubernetes-sigs/headlamp/commi… | x_refsource_MISC |
| https://advisory.zerodaysec.org/advisory/kubernet… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| kubernetes-sigs | headlamp |
Affected:
< 0.31.1
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-53542",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-07-10T19:02:44.021709Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-07-10T19:03:00.522Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "headlamp",
"vendor": "kubernetes-sigs",
"versions": [
{
"status": "affected",
"version": "\u003c 0.31.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Headlamp is an extensible Kubernetes web UI. 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\u0027s execSync() function with unsanitized input derived from environment variables, which can be influenced by an attacker. The 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. This vulnerability is fixed in 0.31.1."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-88",
"description": "CWE-88: Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-07-10T18:20:21.446Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7"
},
{
"name": "https://github.com/kubernetes-sigs/headlamp/pull/3377",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kubernetes-sigs/headlamp/pull/3377"
},
{
"name": "https://github.com/kubernetes-sigs/headlamp/commit/5bc0a9dd87acdf1e04be14619acde687eefa35fb",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kubernetes-sigs/headlamp/commit/5bc0a9dd87acdf1e04be14619acde687eefa35fb"
},
{
"name": "https://advisory.zerodaysec.org/advisory/kubernetes-headlamp-code-signing",
"tags": [
"x_refsource_MISC"
],
"url": "https://advisory.zerodaysec.org/advisory/kubernetes-headlamp-code-signing"
}
],
"source": {
"advisory": "GHSA-34rf-485x-g5h7",
"discovery": "UNKNOWN"
},
"title": "Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2025-53542",
"datePublished": "2025-07-10T18:20:21.446Z",
"dateReserved": "2025-07-02T15:15:11.515Z",
"dateUpdated": "2025-07-10T19:03:00.522Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}