cloud-init up to 19.4 cc_set_passwords.py rand_user_password pwlen Policy insufficiently protected credentials
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in cloud-init up to 19.4. This affects the function rand_user_password of the file cloudinit/config/cc_set_passwords.py. This manipulation of the argument pwlen causes insufficiently protected credentials (Policy).
This vulnerability is handled as CVE-2020-8632. It is possible to launch the attack on the local host. There is not any exploit available.
Details
A vulnerability has been found in cloud-init up to 19.4 (Cloud Software) and classified as problematic. Affected by this vulnerability is the function rand_user_password of the file cloudinit/config/cc_set_passwords.py. The manipulation of the argument pwlen with an unknown input leads to a insufficiently protected credentials vulnerability (Policy). The CWE definition for the vulnerability is CWE-522. The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. As an impact it is known to affect confidentiality. The summary by CVE is:
In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.
The weakness was released 02/05/2020. This vulnerability is known as CVE-2020-8632 since 02/05/2020. The exploitation appears to be difficult. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1552 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 266234 (NewStart CGSL MAIN 6.06 : cloud-init Multiple Vulnerabilities (NS-SA-2025-0230)), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (266234). Entry connected to this vulnerability is available at VDB-149700. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.2VulDB Meta Temp Score: 4.1
VulDB Base Score: 2.9
VulDB Temp Score: 2.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: PolicyClass: Insufficiently protected credentials / Policy
CWE: CWE-522
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 266234
Nessus Name: NewStart CGSL MAIN 6.06 : cloud-init Multiple Vulnerabilities (NS-SA-2025-0230)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
02/05/2020 🔍02/05/2020 🔍
02/05/2020 🔍
10/02/2025 🔍
Sources
Advisory: DLA 2113-1Status: Confirmed
CVE: CVE-2020-8632 (🔍)
GCVE (CVE): GCVE-0-2020-8632
GCVE (VulDB): GCVE-100-149701
See also: 🔍
Entry
Created: 02/05/2020 17:34Updated: 10/02/2025 14:17
Changes: 02/05/2020 17:34 (39), 02/05/2020 17:39 (18), 03/28/2024 14:20 (19), 03/28/2024 14:24 (1), 10/02/2025 14:17 (9)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.