Search
Find a vulnerability
Search criteria
2 vulnerabilities found for operator by canonical
CVE-2024-41129 (GCVE-0-2024-41129)
Vulnerability from nvd – Published: 2024-07-22 14:20 – Updated: 2024-08-02 04:46
VLAI
Title
The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
Summary
The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (>=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0.
Severity
4.4 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-532 - Insertion of Sensitive Information into Log File
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/canonical/operator/security/ad… | x_refsource_CONFIRM |
| https://github.com/canonical/operator/commit/fea6… | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-41129",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-07-22T19:43:49.019092Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-07-30T16:08:06.843Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T04:46:52.414Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm"
},
{
"name": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "operator",
"vendor": "canonical",
"versions": [
{
"status": "affected",
"version": "\u003e= 2.0.0, \u003c 2.15.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (\u003e=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 4.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-532",
"description": "CWE-532: Insertion of Sensitive Information into Log File",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-07-22T14:20:08.920Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm"
},
{
"name": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61"
}
],
"source": {
"advisory": "GHSA-hcmv-jmqh-fjgm",
"discovery": "UNKNOWN"
},
"title": "The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-41129",
"datePublished": "2024-07-22T14:20:08.920Z",
"dateReserved": "2024-07-15T15:53:28.324Z",
"dateUpdated": "2024-08-02T04:46:52.414Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2024-41129 (GCVE-0-2024-41129)
Vulnerability from cvelistv5 – Published: 2024-07-22 14:20 – Updated: 2024-08-02 04:46
VLAI
Title
The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
Summary
The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (>=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0.
Severity
4.4 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-532 - Insertion of Sensitive Information into Log File
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/canonical/operator/security/ad… | x_refsource_CONFIRM |
| https://github.com/canonical/operator/commit/fea6… | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-41129",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-07-22T19:43:49.019092Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-07-30T16:08:06.843Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T04:46:52.414Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm"
},
{
"name": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "operator",
"vendor": "canonical",
"versions": [
{
"status": "affected",
"version": "\u003e= 2.0.0, \u003c 2.15.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (\u003e=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 4.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-532",
"description": "CWE-532: Insertion of Sensitive Information into Log File",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-07-22T14:20:08.920Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/canonical/operator/security/advisories/GHSA-hcmv-jmqh-fjgm"
},
{
"name": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/canonical/operator/commit/fea6d2072435a62170d4c01272572f1a7e916e61"
}
],
"source": {
"advisory": "GHSA-hcmv-jmqh-fjgm",
"discovery": "UNKNOWN"
},
"title": "The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-41129",
"datePublished": "2024-07-22T14:20:08.920Z",
"dateReserved": "2024-07-15T15:53:28.324Z",
"dateUpdated": "2024-08-02T04:46:52.414Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}