Vulnerability Details : CVE-2021-3429
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.
Products affected by CVE-2021-3429
- cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3429
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 17 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3429
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-02-05 |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
Canonical Ltd. |
CWE ids for CVE-2021-3429
-
The product writes sensitive information to a log file.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
- security@ubuntu.com (Secondary)
References for CVE-2021-3429
-
https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668
write passwords only to serial console, lock down cloud-init-output.l… · canonical/cloud-init@b794d42 · GitHubPatch
Jump to