# CVE-2017-14021: Hardcoded credentials in Korenix JetNet

> Hard-coded cryptographic keys in Korenix JetNet switches allow attackers to perform man-in-the-middle attacks.

- **Severity:** Critical 9.8 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 1 Nov 2017
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-5rg7-hr8v-2p3g

## What is CVE-2017-14021?

CVE-2017-14021 is a critical vulnerability in Korenix JetNet, published on 1 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A Use of Hard-coded Cryptographic Key issue was discovered in Korenix JetNet JetNet5018G version 1.4, JetNet5310G version 1.4a, JetNet5428G-2G-2FX version 1.4, JetNet5628G-R version 1.4, JetNet5628G version 1.4, JetNet5728G-24P version 1.4, JetNet5828G version 1.1d, JetNet6710G-HVDC version 1.1e, and JetNet6710G version 1.1. An attacker may gain access to hard-coded certificates and private keys allowing the attacker to perform man-in-the-middle attacks.

Weakness: CWE-798 (Use of Hard-coded Credentials), CWE-321 (Use of Hard-coded Cryptographic Key)

## Which versions are affected by CVE-2017-14021?

It affects 9 products.


Products: Korenix Jetnet5018g Firmware, Korenix Jetnet5310g Firmware, Korenix Jetnet5428g-2g-2fx Firmware, Korenix Jetnet5628g-R Firmware, Korenix Jetnet5628g Firmware, Korenix Jetnet5728g-24p Firmware, Korenix Jetnet5828g Firmware, Korenix Jetnet6710g-Hvdc Firmware, Korenix Jetnet6710g Firmware.

## How do I fix CVE-2017-14021?

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

## Is CVE-2017-14021 being exploited?

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

## Other vulnerabilities in Korenix JetNet

- [CVE-2017-14027](https://insights.sbomify.com/CVE-2017-14027/): Hardcoded credentials in Korenix JetNet (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-14021 and fix it if it is affected.

What it is: CVE-2017-14021 is a critical vulnerability in Korenix JetNet, published on 1 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-14021 in the wild and no public exploit code.

Affected product: Korenix JetNet. 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-2017-14021/ (Markdown: https://insights.sbomify.com/CVE-2017-14021/index.md)
```

## Sources

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

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