# CVE-2020-5399: CredHub does not properly enable TLS for MySQL database connections

- Severity: High 7.6 (CVSS:3.0, scored by pivotal) `CVSS:3.0/AV:A/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2020-02-12T20:30:17.255Z
- Modified: 2026-06-17T03:21:25.343Z
- Weaknesses: CWE-319
- Assigned by: pivotal

## Description

Cloud Foundry CredHub, versions prior to 2.5.10, connects to a MySQL database without TLS even when configured to use TLS. A malicious user with access to the network between CredHub and its MySQL database may eavesdrop on database connections and thereby gain unauthorized access to CredHub and other components.

(As written by CVE List.)

## Affected

- Cloud Foundry CredHub: from Edge before 2.5.10
- cloudfoundry credhub: before 2.5.10
- pivotal_software cloud_foundry_cf-deployment: before 12.29.0

## Every score

- pivotal: CVSS:3.0 7.6 High `CVSS:3.0/AV:A/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://www.cloudfoundry.org/blog/cve-2020-5399> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-5399](https://www.cve.org/CVERecord?id=CVE-2020-5399), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-5399](https://nvd.nist.gov/vuln/detail/CVE-2020-5399), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5399 · Whole record: https://cve.day/CVE-2020-5399.json · Rebuilt by cve.day 2026-11-25T22:57:50.869Z
