Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2020-8631: cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.43% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: cloud-init (Debian:12) 19.4-2; cloud-init (Debian:8) 0.7.6~bzr976-2+deb8u1; cloud-init (openSUSE:Leap 15.1) 19.4-lp151.2.15.1.

Low priority for now. Upgrade to cloud-init (Debian:12) 19.4-2; cloud-init (Debian:8) 0.7.6~bzr976-2+deb8u1; cloud-init (openSUSE:Leap 15.1) 19.4-lp151.2.15.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because rand_str in cloudinit/util.py calls the random.choice function.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Feb 5, 2020
Updated
Jun 16, 2026
EPSS
0.4% · 37th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-8631

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
canonicalcloud-init
opensuseleap
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical cloud-initup to 19.4 inclusive
  • debian debian linux8.0
  • opensuse leap15.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12cloud-initbefore 19.4-219.4-2
Debian:8cloud-initbefore 0.7.6~bzr976-2+deb8u10.7.6~bzr976-2+deb8u1
openSUSE:Leap 15.1cloud-initbefore 19.4-lp151.2.15.119.4-lp151.2.15.1
openSUSE:Tumbleweedcloud-initbefore 21.2-1.221.2-1.2
Red Hat:enterprise_linux:7::servercloud-initbefore 0:19.4-7.el70:19.4-7.el7
Red Hat:enterprise_linux:8::appstreamcloud-initbefore 0:19.4-11.el80:19.4-11.el8
SUSE:Linux Enterprise Module for Public Cloud 12cloud-initbefore 19.4-37.39.119.4-37.39.1
SUSE:Linux Enterprise Module for Public Cloud 15cloud-initbefore 19.4-5.24.119.4-5.24.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP1cloud-initbefore 19.4-8.17.119.4-8.17.1

Other highest-scoring records for the same primary product.

  • CVE-2012-6639An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are submitted for EC2 instance d
    36Monitor
  • CVE-2024-6174When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address.
    35Monitor
  • CVE-2018-10896The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh ho
    28Monitor

Published before and after this one in the same product

  • Later →CVE-2020-8632Feb 5, 2020 · 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 easie
    22Monitor
  • Later →CVE-2021-3429Apr 19, 2023 · sensitive data exposure in cloud-init logs
    22Monitor
  • Later →CVE-2022-2084Apr 19, 2023 · sensitive data exposure in cloud-init logs
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:cloud-init19.4-2 · Debian:12Package registry (OSV)
opensuse:cloud-init19.4-lp151.2.15.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:cloud-init0:19.4-7.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
suse:cloud-init19.4-5.24.1 · SUSE:Linux Enterprise Module for Public Cloud 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records