Action not permitted
Modal body text goes here.
Modal Title
Modal Body
CVE-2021-3429 (GCVE-0-2021-3429)
Vulnerability from cvelistv5 – Published: 2023-04-19 21:42 – Updated: 2025-02-05 14:44| URL | Tags |
|---|---|
| https://github.com/canonical/cloud-init/commit/b7… | patch |
| Vendor | Product | Version | |
|---|---|---|---|
| Canonical Ltd. | cloud-init |
Affected:
0 , < 21.2
(semver)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T16:53:17.576Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"patch",
"x_transferred"
],
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2021-3429",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-02-05T14:43:36.200298Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-532",
"description": "CWE-532 Insertion of Sensitive Information into Log File",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-02-05T14:44:18.828Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://github.com/canonical/cloud-init/releases",
"packageName": "cloud-init",
"platforms": [
"Linux"
],
"product": "cloud-init",
"repo": "https://github.com/canonical/cloud-init/",
"vendor": "Canonical Ltd.",
"versions": [
{
"lessThan": "21.2",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Carl Pearson"
}
],
"datePublic": "2021-03-26T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-532",
"description": "CWE-532",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-04-19T21:42:02.402Z",
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical"
},
"references": [
{
"tags": [
"patch"
],
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
}
],
"title": "sensitive data exposure in cloud-init logs"
}
},
"cveMetadata": {
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"cveId": "CVE-2021-3429",
"datePublished": "2023-04-19T21:42:02.402Z",
"dateReserved": "2021-03-10T23:54:34.444Z",
"dateUpdated": "2025-02-05T14:44:18.828Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2021-3429",
"date": "2026-05-28",
"epss": "0.00061",
"percentile": "0.19111"
},
"fkie_nvd": {
"configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*\", \"versionEndExcluding\": \"21.2\", \"matchCriteriaId\": \"24AE1645-A98F-41D7-8F77-8647A25E6B4A\"}]}]}]",
"descriptions": "[{\"lang\": \"en\", \"value\": \"When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.\"}]",
"id": "CVE-2021-3429",
"lastModified": "2024-11-21T06:21:29.237",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"security@ubuntu.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"baseScore\": 5.5, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 3.6}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"baseScore\": 5.5, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 3.6}]}",
"published": "2023-04-19T22:15:10.137",
"references": "[{\"url\": \"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668\", \"source\": \"security@ubuntu.com\", \"tags\": [\"Patch\"]}, {\"url\": \"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}]",
"sourceIdentifier": "security@ubuntu.com",
"vulnStatus": "Modified",
"weaknesses": "[{\"source\": \"security@ubuntu.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-532\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-532\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2021-3429\",\"sourceIdentifier\":\"security@ubuntu.com\",\"published\":\"2023-04-19T22:15:10.137\",\"lastModified\":\"2025-02-05T15:15:13.403\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-532\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-532\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-532\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"21.2\",\"matchCriteriaId\":\"24AE1645-A98F-41D7-8F77-8647A25E6B4A\"}]}]}],\"references\":[{\"url\":\"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668\", \"tags\": [\"patch\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T16:53:17.576Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-3429\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-05T14:43:36.200298Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-532\", \"description\": \"CWE-532 Insertion of Sensitive Information into Log File\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-05T14:44:13.117Z\"}}], \"cna\": {\"title\": \"sensitive data exposure in cloud-init logs\", \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Carl Pearson\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"repo\": \"https://github.com/canonical/cloud-init/\", \"vendor\": \"Canonical Ltd.\", \"product\": \"cloud-init\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"21.2\", \"versionType\": \"semver\"}], \"platforms\": [\"Linux\"], \"packageName\": \"cloud-init\", \"collectionURL\": \"https://github.com/canonical/cloud-init/releases\"}], \"datePublic\": \"2021-03-26T00:00:00.000Z\", \"references\": [{\"url\": \"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668\", \"tags\": [\"patch\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-532\", \"description\": \"CWE-532\"}]}], \"providerMetadata\": {\"orgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"shortName\": \"canonical\", \"dateUpdated\": \"2023-04-19T21:42:02.402Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-3429\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-02-05T14:44:18.828Z\", \"dateReserved\": \"2021-03-10T23:54:34.444Z\", \"assignerOrgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"datePublished\": \"2023-04-19T21:42:02.402Z\", \"assignerShortName\": \"canonical\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
FKIE_CVE-2021-3429
Vulnerability from fkie_nvd - Published: 2023-04-19 22:15 - Updated: 2025-02-05 15:155.5 (Medium) - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
5.5 (Medium) - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Vendor | Product | Version | |
|---|---|---|---|
| canonical | cloud-init | * |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*",
"matchCriteriaId": "24AE1645-A98F-41D7-8F77-8647A25E6B4A",
"versionEndExcluding": "21.2",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user."
}
],
"id": "CVE-2021-3429",
"lastModified": "2025-02-05T15:15:13.403",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6,
"source": "security@ubuntu.com",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6,
"source": "nvd@nist.gov",
"type": "Primary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6,
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
},
"published": "2023-04-19T22:15:10.137",
"references": [
{
"source": "security@ubuntu.com",
"tags": [
"Patch"
],
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
}
],
"sourceIdentifier": "security@ubuntu.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-532"
}
],
"source": "security@ubuntu.com",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-532"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-532"
}
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
}
GHSA-JJ89-4799-J2QV
Vulnerability from github – Published: 2023-04-20 00:30 – Updated: 2024-04-04 03:36When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.
{
"affected": [],
"aliases": [
"CVE-2021-3429"
],
"database_specific": {
"cwe_ids": [
"CWE-532"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-04-19T22:15:10Z",
"severity": "MODERATE"
},
"details": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.",
"id": "GHSA-jj89-4799-j2qv",
"modified": "2024-04-04T03:36:28Z",
"published": "2023-04-20T00:30:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
},
{
"type": "WEB",
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GSD-2021-3429
Vulnerability from gsd - Updated: 2023-12-13 01:23{
"GSD": {
"alias": "CVE-2021-3429",
"id": "GSD-2021-3429",
"references": [
"https://www.suse.com/security/cve/CVE-2021-3429.html",
"https://access.redhat.com/errata/RHSA-2021:3371",
"https://access.redhat.com/errata/RHSA-2021:3177",
"https://access.redhat.com/errata/RHSA-2021:3081",
"https://advisories.mageia.org/CVE-2021-3429.html",
"https://alas.aws.amazon.com/cve/html/CVE-2021-3429.html",
"https://linux.oracle.com/cve/CVE-2021-3429.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-3429"
],
"details": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.",
"id": "GSD-2021-3429",
"modified": "2023-12-13T01:23:35.121881Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@ubuntu.com",
"ID": "CVE-2021-3429",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "cloud-init",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "21.2"
}
]
}
}
]
},
"vendor_name": "Canonical Ltd."
}
]
}
},
"credits": [
{
"lang": "en",
"value": "Carl Pearson"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user."
}
]
},
"impact": {
"cvss": [
{
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"cweId": "CWE-532",
"lang": "eng",
"value": "CWE-532"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668",
"refsource": "MISC",
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
}
]
}
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "21.2",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@ubuntu.com",
"ID": "CVE-2021-3429"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-532"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668",
"refsource": "MISC",
"tags": [
"Patch"
],
"url": "https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
},
"lastModifiedDate": "2023-05-04T13:00Z",
"publishedDate": "2023-04-19T22:15Z"
}
}
}
OPENSUSE-SU-2024:13053-1
Vulnerability from csaf_opensuse - Published: 2024-06-15 00:00 - Updated: 2024-06-15 00:00| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64 | — |
Vendor Fix
|
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64 | — |
Vendor Fix
|
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright 2024 SUSE LLC. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "cloud-init-23.1-2.1 on GA media",
"title": "Title of the patch"
},
{
"category": "description",
"text": "These are all security issues fixed in the cloud-init-23.1-2.1 package on the GA media of openSUSE Tumbleweed.",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-Tumbleweed-2024-13053",
"title": "Patchnames"
},
{
"category": "legal_disclaimer",
"text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
"title": "Terms of use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://www.suse.com/support/security/contact/",
"name": "SUSE Product Security Team",
"namespace": "https://www.suse.com/"
},
"references": [
{
"category": "external",
"summary": "SUSE ratings",
"url": "https://www.suse.com/support/security/rating/"
},
{
"category": "self",
"summary": "URL of this CSAF notice",
"url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_13053-1.json"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-3429 page",
"url": "https://www.suse.com/security/cve/CVE-2021-3429/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2023-1786 page",
"url": "https://www.suse.com/security/cve/CVE-2023-1786/"
}
],
"title": "cloud-init-23.1-2.1 on GA media",
"tracking": {
"current_release_date": "2024-06-15T00:00:00Z",
"generator": {
"date": "2024-06-15T00:00:00Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2024:13053-1",
"initial_release_date": "2024-06-15T00:00:00Z",
"revision_history": [
{
"date": "2024-06-15T00:00:00Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-23.1-2.1.aarch64",
"product": {
"name": "cloud-init-23.1-2.1.aarch64",
"product_id": "cloud-init-23.1-2.1.aarch64"
}
},
{
"category": "product_version",
"name": "cloud-init-config-suse-23.1-2.1.aarch64",
"product": {
"name": "cloud-init-config-suse-23.1-2.1.aarch64",
"product_id": "cloud-init-config-suse-23.1-2.1.aarch64"
}
},
{
"category": "product_version",
"name": "cloud-init-doc-23.1-2.1.aarch64",
"product": {
"name": "cloud-init-doc-23.1-2.1.aarch64",
"product_id": "cloud-init-doc-23.1-2.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-23.1-2.1.ppc64le",
"product": {
"name": "cloud-init-23.1-2.1.ppc64le",
"product_id": "cloud-init-23.1-2.1.ppc64le"
}
},
{
"category": "product_version",
"name": "cloud-init-config-suse-23.1-2.1.ppc64le",
"product": {
"name": "cloud-init-config-suse-23.1-2.1.ppc64le",
"product_id": "cloud-init-config-suse-23.1-2.1.ppc64le"
}
},
{
"category": "product_version",
"name": "cloud-init-doc-23.1-2.1.ppc64le",
"product": {
"name": "cloud-init-doc-23.1-2.1.ppc64le",
"product_id": "cloud-init-doc-23.1-2.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-23.1-2.1.s390x",
"product": {
"name": "cloud-init-23.1-2.1.s390x",
"product_id": "cloud-init-23.1-2.1.s390x"
}
},
{
"category": "product_version",
"name": "cloud-init-config-suse-23.1-2.1.s390x",
"product": {
"name": "cloud-init-config-suse-23.1-2.1.s390x",
"product_id": "cloud-init-config-suse-23.1-2.1.s390x"
}
},
{
"category": "product_version",
"name": "cloud-init-doc-23.1-2.1.s390x",
"product": {
"name": "cloud-init-doc-23.1-2.1.s390x",
"product_id": "cloud-init-doc-23.1-2.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-23.1-2.1.x86_64",
"product": {
"name": "cloud-init-23.1-2.1.x86_64",
"product_id": "cloud-init-23.1-2.1.x86_64"
}
},
{
"category": "product_version",
"name": "cloud-init-config-suse-23.1-2.1.x86_64",
"product": {
"name": "cloud-init-config-suse-23.1-2.1.x86_64",
"product_id": "cloud-init-config-suse-23.1-2.1.x86_64"
}
},
{
"category": "product_version",
"name": "cloud-init-doc-23.1-2.1.x86_64",
"product": {
"name": "cloud-init-doc-23.1-2.1.x86_64",
"product_id": "cloud-init-doc-23.1-2.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "openSUSE Tumbleweed",
"product": {
"name": "openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed",
"product_identification_helper": {
"cpe": "cpe:/o:opensuse:tumbleweed"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-23.1-2.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64"
},
"product_reference": "cloud-init-23.1-2.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-23.1-2.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le"
},
"product_reference": "cloud-init-23.1-2.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-23.1-2.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x"
},
"product_reference": "cloud-init-23.1-2.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-23.1-2.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64"
},
"product_reference": "cloud-init-23.1-2.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-config-suse-23.1-2.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64"
},
"product_reference": "cloud-init-config-suse-23.1-2.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-config-suse-23.1-2.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le"
},
"product_reference": "cloud-init-config-suse-23.1-2.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-config-suse-23.1-2.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x"
},
"product_reference": "cloud-init-config-suse-23.1-2.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-config-suse-23.1-2.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64"
},
"product_reference": "cloud-init-config-suse-23.1-2.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-doc-23.1-2.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64"
},
"product_reference": "cloud-init-doc-23.1-2.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-doc-23.1-2.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le"
},
"product_reference": "cloud-init-doc-23.1-2.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-doc-23.1-2.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x"
},
"product_reference": "cloud-init-doc-23.1-2.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-doc-23.1-2.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
},
"product_reference": "cloud-init-doc-23.1-2.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-3429"
}
],
"notes": [
{
"category": "general",
"text": "When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-3429",
"url": "https://www.suse.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "SUSE Bug 1184758 for CVE-2021-3429",
"url": "https://bugzilla.suse.com/1184758"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2024-06-15T00:00:00Z",
"details": "moderate"
}
],
"title": "CVE-2021-3429"
},
{
"cve": "CVE-2023-1786",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2023-1786"
}
],
"notes": [
{
"category": "general",
"text": "Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to find hashed passwords and possibly escalate their privilege.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2023-1786",
"url": "https://www.suse.com/security/cve/CVE-2023-1786"
},
{
"category": "external",
"summary": "SUSE Bug 1210277 for CVE-2023-1786",
"url": "https://bugzilla.suse.com/1210277"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"openSUSE Tumbleweed:cloud-init-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-config-suse-23.1-2.1.x86_64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.aarch64",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.ppc64le",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.s390x",
"openSUSE Tumbleweed:cloud-init-doc-23.1-2.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2024-06-15T00:00:00Z",
"details": "moderate"
}
],
"title": "CVE-2023-1786"
}
]
}
RHSA-2021:3081
Vulnerability from csaf_redhat - Published: 2021-08-10 16:34 - Updated: 2025-11-21 18:24A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for cloud-init is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.\n\nSecurity Fix(es):\n\n* cloud-init: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2021:3081",
"url": "https://access.redhat.com/errata/RHSA-2021:3081"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3081.json"
}
],
"title": "Red Hat Security Advisory: cloud-init security update",
"tracking": {
"current_release_date": "2025-11-21T18:24:18+00:00",
"generator": {
"date": "2025-11-21T18:24:18+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2021:3081",
"initial_release_date": "2021-08-10T16:34:34+00:00",
"revision_history": [
{
"date": "2021-08-10T16:34:34+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-08-10T16:34:34+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T18:24:18+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.4.0.Z.MAIN.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:20.3-10.el8_4.5.src",
"product": {
"name": "cloud-init-0:20.3-10.el8_4.5.src",
"product_id": "cloud-init-0:20.3-10.el8_4.5.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@20.3-10.el8_4.5?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:20.3-10.el8_4.5.noarch",
"product": {
"name": "cloud-init-0:20.3-10.el8_4.5.noarch",
"product_id": "cloud-init-0:20.3-10.el8_4.5.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@20.3-10.el8_4.5?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:20.3-10.el8_4.5.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch"
},
"product_reference": "cloud-init-0:20.3-10.el8_4.5.noarch",
"relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:20.3-10.el8_4.5.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
},
"product_reference": "cloud-init-0:20.3-10.el8_4.5.src",
"relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"cwe": {
"id": "CWE-532",
"name": "Insertion of Sensitive Information into Log File"
},
"discovery_date": "2021-03-19T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1940967"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cloud-init. When a system is configured through cloud-init and the \"Set Passwords\" module is used with \"chpasswd\" directive and \"RANDOM\", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cloud-init: randomly generated passwords logged in clear-text to world-readable file",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "By default the randomly password generated by \"chpasswd\" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch",
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "RHBZ#1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-3429",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3429"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
}
],
"release_date": "2021-03-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-08-10T16:34:34+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch",
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:3081"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch",
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cloud-init: randomly generated passwords logged in clear-text to world-readable file"
}
]
}
RHSA-2021:3177
Vulnerability from csaf_redhat - Published: 2021-08-17 08:33 - Updated: 2025-11-21 18:24A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for cloud-init is now available for Red Hat Enterprise Linux 8.1 Extended Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.\n\nSecurity Fix(es):\n\n* cloud-init: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2021:3177",
"url": "https://access.redhat.com/errata/RHSA-2021:3177"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3177.json"
}
],
"title": "Red Hat Security Advisory: cloud-init security update",
"tracking": {
"current_release_date": "2025-11-21T18:24:26+00:00",
"generator": {
"date": "2025-11-21T18:24:26+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2021:3177",
"initial_release_date": "2021-08-17T08:33:34+00:00",
"revision_history": [
{
"date": "2021-08-17T08:33:34+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-08-17T08:33:34+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T18:24:26+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product": {
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product_id": "AppStream-8.1.0.Z.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:rhel_eus:8.1::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-7.el8_1.6.src",
"product": {
"name": "cloud-init-0:18.5-7.el8_1.6.src",
"product_id": "cloud-init-0:18.5-7.el8_1.6.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-7.el8_1.6?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-7.el8_1.6.noarch",
"product": {
"name": "cloud-init-0:18.5-7.el8_1.6.noarch",
"product_id": "cloud-init-0:18.5-7.el8_1.6.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-7.el8_1.6?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-7.el8_1.6.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product_id": "AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch"
},
"product_reference": "cloud-init-0:18.5-7.el8_1.6.noarch",
"relates_to_product_reference": "AppStream-8.1.0.Z.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-7.el8_1.6.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product_id": "AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
},
"product_reference": "cloud-init-0:18.5-7.el8_1.6.src",
"relates_to_product_reference": "AppStream-8.1.0.Z.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"cwe": {
"id": "CWE-532",
"name": "Insertion of Sensitive Information into Log File"
},
"discovery_date": "2021-03-19T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1940967"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cloud-init. When a system is configured through cloud-init and the \"Set Passwords\" module is used with \"chpasswd\" directive and \"RANDOM\", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cloud-init: randomly generated passwords logged in clear-text to world-readable file",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "By default the randomly password generated by \"chpasswd\" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch",
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "RHBZ#1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-3429",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3429"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
}
],
"release_date": "2021-03-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-08-17T08:33:34+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch",
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:3177"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch",
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cloud-init: randomly generated passwords logged in clear-text to world-readable file"
}
]
}
RHSA-2021:3371
Vulnerability from csaf_redhat - Published: 2021-08-31 09:24 - Updated: 2025-11-21 18:24A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for cloud-init is now available for Red Hat Enterprise Linux 8.2 Extended Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.\n\nSecurity Fix(es):\n\n* cloud-init: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2021:3371",
"url": "https://access.redhat.com/errata/RHSA-2021:3371"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3371.json"
}
],
"title": "Red Hat Security Advisory: cloud-init security update",
"tracking": {
"current_release_date": "2025-11-21T18:24:42+00:00",
"generator": {
"date": "2025-11-21T18:24:42+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2021:3371",
"initial_release_date": "2021-08-31T09:24:05+00:00",
"revision_history": [
{
"date": "2021-08-31T09:24:05+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-08-31T09:24:05+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T18:24:42+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product": {
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product_id": "AppStream-8.2.0.Z.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:rhel_eus:8.2::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-12.el8_2.10.src",
"product": {
"name": "cloud-init-0:18.5-12.el8_2.10.src",
"product_id": "cloud-init-0:18.5-12.el8_2.10.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-12.el8_2.10?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-12.el8_2.10.noarch",
"product": {
"name": "cloud-init-0:18.5-12.el8_2.10.noarch",
"product_id": "cloud-init-0:18.5-12.el8_2.10.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-12.el8_2.10?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-12.el8_2.10.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product_id": "AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch"
},
"product_reference": "cloud-init-0:18.5-12.el8_2.10.noarch",
"relates_to_product_reference": "AppStream-8.2.0.Z.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-12.el8_2.10.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product_id": "AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
},
"product_reference": "cloud-init-0:18.5-12.el8_2.10.src",
"relates_to_product_reference": "AppStream-8.2.0.Z.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"cwe": {
"id": "CWE-532",
"name": "Insertion of Sensitive Information into Log File"
},
"discovery_date": "2021-03-19T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1940967"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cloud-init. When a system is configured through cloud-init and the \"Set Passwords\" module is used with \"chpasswd\" directive and \"RANDOM\", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cloud-init: randomly generated passwords logged in clear-text to world-readable file",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "By default the randomly password generated by \"chpasswd\" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch",
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "RHBZ#1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-3429",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3429"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
}
],
"release_date": "2021-03-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-08-31T09:24:05+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch",
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:3371"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch",
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cloud-init: randomly generated passwords logged in clear-text to world-readable file"
}
]
}
RHSA-2021_3081
Vulnerability from csaf_redhat - Published: 2021-08-10 16:34 - Updated: 2024-11-22 17:17A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for cloud-init is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.\n\nSecurity Fix(es):\n\n* cloud-init: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2021:3081",
"url": "https://access.redhat.com/errata/RHSA-2021:3081"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3081.json"
}
],
"title": "Red Hat Security Advisory: cloud-init security update",
"tracking": {
"current_release_date": "2024-11-22T17:17:16+00:00",
"generator": {
"date": "2024-11-22T17:17:16+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.1"
}
},
"id": "RHSA-2021:3081",
"initial_release_date": "2021-08-10T16:34:34+00:00",
"revision_history": [
{
"date": "2021-08-10T16:34:34+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-08-10T16:34:34+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-22T17:17:16+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.4.0.Z.MAIN.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:20.3-10.el8_4.5.src",
"product": {
"name": "cloud-init-0:20.3-10.el8_4.5.src",
"product_id": "cloud-init-0:20.3-10.el8_4.5.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@20.3-10.el8_4.5?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:20.3-10.el8_4.5.noarch",
"product": {
"name": "cloud-init-0:20.3-10.el8_4.5.noarch",
"product_id": "cloud-init-0:20.3-10.el8_4.5.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@20.3-10.el8_4.5?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:20.3-10.el8_4.5.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch"
},
"product_reference": "cloud-init-0:20.3-10.el8_4.5.noarch",
"relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:20.3-10.el8_4.5.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
},
"product_reference": "cloud-init-0:20.3-10.el8_4.5.src",
"relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"cwe": {
"id": "CWE-532",
"name": "Insertion of Sensitive Information into Log File"
},
"discovery_date": "2021-03-19T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1940967"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cloud-init. When a system is configured through cloud-init and the \"Set Passwords\" module is used with \"chpasswd\" directive and \"RANDOM\", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cloud-init: randomly generated passwords logged in clear-text to world-readable file",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "By default the randomly password generated by \"chpasswd\" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch",
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "RHBZ#1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-3429",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3429"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
}
],
"release_date": "2021-03-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-08-10T16:34:34+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch",
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:3081"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.noarch",
"AppStream-8.4.0.Z.MAIN.EUS:cloud-init-0:20.3-10.el8_4.5.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cloud-init: randomly generated passwords logged in clear-text to world-readable file"
}
]
}
RHSA-2021_3177
Vulnerability from csaf_redhat - Published: 2021-08-17 08:33 - Updated: 2024-11-22 17:17A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for cloud-init is now available for Red Hat Enterprise Linux 8.1 Extended Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.\n\nSecurity Fix(es):\n\n* cloud-init: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2021:3177",
"url": "https://access.redhat.com/errata/RHSA-2021:3177"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3177.json"
}
],
"title": "Red Hat Security Advisory: cloud-init security update",
"tracking": {
"current_release_date": "2024-11-22T17:17:22+00:00",
"generator": {
"date": "2024-11-22T17:17:22+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.1"
}
},
"id": "RHSA-2021:3177",
"initial_release_date": "2021-08-17T08:33:34+00:00",
"revision_history": [
{
"date": "2021-08-17T08:33:34+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-08-17T08:33:34+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-22T17:17:22+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product": {
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product_id": "AppStream-8.1.0.Z.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:rhel_eus:8.1::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-7.el8_1.6.src",
"product": {
"name": "cloud-init-0:18.5-7.el8_1.6.src",
"product_id": "cloud-init-0:18.5-7.el8_1.6.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-7.el8_1.6?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-7.el8_1.6.noarch",
"product": {
"name": "cloud-init-0:18.5-7.el8_1.6.noarch",
"product_id": "cloud-init-0:18.5-7.el8_1.6.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-7.el8_1.6?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-7.el8_1.6.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product_id": "AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch"
},
"product_reference": "cloud-init-0:18.5-7.el8_1.6.noarch",
"relates_to_product_reference": "AppStream-8.1.0.Z.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-7.el8_1.6.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.1)",
"product_id": "AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
},
"product_reference": "cloud-init-0:18.5-7.el8_1.6.src",
"relates_to_product_reference": "AppStream-8.1.0.Z.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"cwe": {
"id": "CWE-532",
"name": "Insertion of Sensitive Information into Log File"
},
"discovery_date": "2021-03-19T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1940967"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cloud-init. When a system is configured through cloud-init and the \"Set Passwords\" module is used with \"chpasswd\" directive and \"RANDOM\", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cloud-init: randomly generated passwords logged in clear-text to world-readable file",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "By default the randomly password generated by \"chpasswd\" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch",
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "RHBZ#1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-3429",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3429"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
}
],
"release_date": "2021-03-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-08-17T08:33:34+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch",
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:3177"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.noarch",
"AppStream-8.1.0.Z.EUS:cloud-init-0:18.5-7.el8_1.6.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cloud-init: randomly generated passwords logged in clear-text to world-readable file"
}
]
}
RHSA-2021_3371
Vulnerability from csaf_redhat - Published: 2021-08-31 09:24 - Updated: 2024-11-22 17:17A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for cloud-init is now available for Red Hat Enterprise Linux 8.2 Extended Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.\n\nSecurity Fix(es):\n\n* cloud-init: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2021:3371",
"url": "https://access.redhat.com/errata/RHSA-2021:3371"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3371.json"
}
],
"title": "Red Hat Security Advisory: cloud-init security update",
"tracking": {
"current_release_date": "2024-11-22T17:17:29+00:00",
"generator": {
"date": "2024-11-22T17:17:29+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.1"
}
},
"id": "RHSA-2021:3371",
"initial_release_date": "2021-08-31T09:24:05+00:00",
"revision_history": [
{
"date": "2021-08-31T09:24:05+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-08-31T09:24:05+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-22T17:17:29+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product": {
"name": "Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product_id": "AppStream-8.2.0.Z.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:rhel_eus:8.2::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-12.el8_2.10.src",
"product": {
"name": "cloud-init-0:18.5-12.el8_2.10.src",
"product_id": "cloud-init-0:18.5-12.el8_2.10.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-12.el8_2.10?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cloud-init-0:18.5-12.el8_2.10.noarch",
"product": {
"name": "cloud-init-0:18.5-12.el8_2.10.noarch",
"product_id": "cloud-init-0:18.5-12.el8_2.10.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cloud-init@18.5-12.el8_2.10?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-12.el8_2.10.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product_id": "AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch"
},
"product_reference": "cloud-init-0:18.5-12.el8_2.10.noarch",
"relates_to_product_reference": "AppStream-8.2.0.Z.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cloud-init-0:18.5-12.el8_2.10.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)",
"product_id": "AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
},
"product_reference": "cloud-init-0:18.5-12.el8_2.10.src",
"relates_to_product_reference": "AppStream-8.2.0.Z.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-3429",
"cwe": {
"id": "CWE-532",
"name": "Insertion of Sensitive Information into Log File"
},
"discovery_date": "2021-03-19T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1940967"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in cloud-init. When a system is configured through cloud-init and the \"Set Passwords\" module is used with \"chpasswd\" directive and \"RANDOM\", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cloud-init: randomly generated passwords logged in clear-text to world-readable file",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "By default the randomly password generated by \"chpasswd\" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch",
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-3429"
},
{
"category": "external",
"summary": "RHBZ#1940967",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1940967"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-3429",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3429"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3429"
}
],
"release_date": "2021-03-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-08-31T09:24:05+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch",
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:3371"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.noarch",
"AppStream-8.2.0.Z.EUS:cloud-init-0:18.5-12.el8_2.10.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cloud-init: randomly generated passwords logged in clear-text to world-readable file"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.