What’s Vulnerable › Vulnerabilities
CVE-2021-31816
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-07-08 · updated 2026-06-17
- Weakness: CWE-312
Description
When configuring Octopus Server if it is configured with an external SQL database, on initial configuration the database password is written to the OctopusServer.txt log file in plaintext.
Affected products
- Octopus Server: before 2020.6.5146; from 2021.1.0 before 2021.1.7316 — fixed in 2020.6.5146, 2021.1.7316
How to fix
Upgrade to a fixed version: Octopus Server 2020.6.5146, 2021.1.7316. Check the vendor advisory for mitigations.
References
- https://advisories.octopus.com/adv/2021-05---Cleartext-Storage-of-Sensitive-Information-%28CVE-2021-31816%29.2121793537.html
- https://advisories.octopus.com/adv/2021-05---Cleartext-Storage-of-Sensitive-Information-%28CVE-2021-31816%29.2121793537.html
Get alerted when CVE-2021-31816 or the next vulnerability affects your stack