Description
Use of a cryptographically weak random number generator in the GenerateRandomPassword function in bosh-windows-stemcell-builder allows a remote attacker to brute-force the resulting SSH login via TCP/22.
Affected versions: bosh-windows-stemcell-builder versions prior to v2019.98.
Published: 2026-07-09
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from a cryptographically weak random number generator used in the GenerateRandomPassword function of the bosh‑windows‑stemcell‑builder. This flaw produces low‑entropy SSH passwords, enabling an attacker to brute‑force SSH login attempts over TCP/22. The impact is the potential to gain unrestricted access to the virtual machine that hosts the stem cell, compromising confidentiality, integrity, and availability of the platform.

Affected Systems

Cloud Foundry Foundation’s bosh‑windows‑stemcell‑builder versions earlier than v2019.98 are affected. Versions v2019.98 and later incorporate a cryptographically secure random number generator, eliminating the low‑entropy password issue.

Risk and Exploitability

With a CVSS score of 7.7, the vulnerability is classified as High severity. The EPSS score of < 1% indicates that exploitation probability is currently low, yet the potential for success remains if an attacker chooses to target the exposed SSH service. The vulnerability is not listed in CISA KEV. An attacker would likely exploit the weakness by conducting an automated brute‑force attack against port 22, taking advantage of the limited password entropy generated by the weak RNG. No additional privileges are required beyond the compromised SSH session, providing the attacker full control over the stem cell VM.

Generated by OpenCVE AI on July 25, 2026 at 20:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade bosh‑windows‑stemcell‑builder to version v2019.98 or newer to replace the weak random generator with a cryptographically secure source.
  • If an upgrade cannot be performed immediately, block or disable SSH on newly created stem cells, and enforce strong, cryptographically secure passwords for any existing weak passwords, requiring re‑generation with a secure random generator.
  • Monitor port 22 for repeated failed login attempts and implement rate‑limiting or lockout policies to mitigate brute‑force attacks.

Generated by OpenCVE AI on July 25, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 25 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-330
CWE-794

Tue, 21 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-330

Mon, 13 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-330

Mon, 13 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-118
CWE-330

Sun, 12 Jul 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-118
CWE-330

Sat, 11 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-330

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Cloudfoundry
Cloudfoundry bosh-windows-stemcell-builder
Vendors & Products Cloudfoundry
Cloudfoundry bosh-windows-stemcell-builder

Thu, 09 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-330

Thu, 09 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 07:00:00 +0000

Type Values Removed Values Added
Description Use of a cryptographically weak random number generator in the GenerateRandomPassword function in bosh-windows-stemcell-builder allows a remote attacker to brute-force the resulting SSH login via TCP/22. Affected versions: bosh-windows-stemcell-builder versions prior to v2019.98.
Title Cryptographically Weak Password Generation in bosh-windows-stemcell-builder Allows Remote SSH Brute-Force Attacks
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Cloudfoundry Bosh-windows-stemcell-builder
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-07-09T12:50:39.057Z

Reserved: 2026-05-20T10:00:48.931Z

Link: CVE-2026-47831

cve-icon Vulnrichment

Updated: 2026-07-09T12:50:34.600Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T20:30:03Z

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-794

    Incomplete Filtering of Multiple Instances of Special Elements