# CVE-2022-29965: Weak cryptography in n/a

> Attackers can predict maintenance passwords due to weak entropy, gaining privileged access to Emerson DeltaV DCS controllers via Telnet.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 26 Jul 2022
- **Updated:** 3 Aug 2024
- **Also known as:** GHSA-2cw2-wqm2-wwp4

## What is CVE-2022-29965?

CVE-2022-29965 is a medium-severity vulnerability in n/a, published on 26 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

The Emerson DeltaV Distributed Control System (DCS) controllers and IO cards through 2022-04-29 misuse passwords. Access to privileged operations on the maintenance port TELNET interface (23/TCP) on M-series and SIS (CSLS/LSNB/LSNG) nodes is controlled by means of utility passwords. These passwords are generated using a deterministic, insecure algorithm using a single seed value composed of a day/hour/minute timestamp with less than 16 bits of entropy. The seed value is fed through a lookup table and a series of permutation operations resulting in three different four-character passwords corresponding to different privilege levels. An attacker can easily reconstruct these passwords and thus gain access to privileged maintenance operations. NOTE: this is different from CVE-2014-2350.

Weakness: CWE-327 (Use of a Broken or Risky Cryptographic Algorithm)

## Which versions are affected by CVE-2022-29965?

It affects 25 products.


Products: Emerson Deltav Distributed Control System, Emerson Deltav Distributed Control System Sq Controller Firmware, Emerson Deltav Distributed Control System Sx Controller Firmware, Emerson Se4002s1t2b6 High Side 40-Pin Mass I\/O Terminal Block Firmware, Emerson Se4003s2b4 16-Pin Mass I\/O Terminal Block Firmware, Emerson Se4003s2b524-Pin Mass I\/O Terminal Block Firmware, Emerson Se4017p0 H1 I\/O Interface Card and Terminl Block Firmware, Emerson Se4017p1 H1 I\/O Card With Integrated Power Firmware, Emerson Se4019p0 Simplex H1 4-Port Plus Fieldbus I\/O Interface With Terminalblock Firmware, Emerson Se4026 Virtual I\/O Module 2 Firmware, Emerson Se4027 Virtual I\/O Module 2 Firmware, Emerson Se4032s1t2b8 High Side 40-Pin Do Mass I\/O Terminal Block Firmware, Emerson Se4037p0 H1 I\/O Interface Card and Terminl Block Firmware, Emerson Se4037p1 Redundant H1 I\/O Card With Integrated Power and Terminal Block Firmware, Emerson Se4039p0 Redundant H1 4-Port Plus Fieldbus I\/O Interface With Terminalblock Firmware, Emerson Se4052s1t2b6 High Side 40-Pin Mass I\/O Terminal Block Firmware, Emerson Se4082s1t2b8 High Side 40-Pin Do Mass I\/O Terminal Block Firmware, Emerson Se4100 Simplex Ethernet I\/O Card \(Eioc\) Assembly Firmware, Emerson Se4101 Simplex Ethernet I\/O Card \(Eioc\) Assembly Firmware, Emerson Se4801t0x Redundant Wireless I\/O Card Firmware and 5 more.

## How do I fix CVE-2022-29965?

No fix has been published for CVE-2022-29965 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-29965 being exploited?

There is no known exploitation of CVE-2022-29965 in the wild and no public exploit code.

## Other vulnerabilities in n/a

- [CVE-2022-29957](https://insights.sbomify.com/CVE-2022-29957/): Missing authorization in n/a (high 7.8)
- [CVE-2021-26264](https://insights.sbomify.com/CVE-2021-26264/): Emerson DeltaV Missing Authentication for Critical Function (medium 6.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-29965 and fix it if it is affected.

What it is: CVE-2022-29965 is a medium-severity vulnerability in n/a, published on 26 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2022-29965 in the wild and no public exploit code.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-29965/ (Markdown: https://insights.sbomify.com/CVE-2022-29965/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-29965
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-29965
- OSV: https://osv.dev/vulnerability/CVE-2022-29965

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-29965/
Summaries are generated and may contain mistakes; the official description above is the record.
