2021-05 - Cleartext Storage of Sensitive Information (CVE-2021-31816)
Patch Release Date
Advisory Release Date
Customers who have downloaded and installed any of the Octopus Server versions listed below (“Details”) are affected.
Please upgrade your Octopus Server immediately to fix this vulnerability.
Customers who have upgraded Octopus Server to version 2021.1.7316 or higher are not affected.
Octopus Deploy has given this vulnerability a Medium rating. This rating was given according to the Octopus Deploy security levels, which ranks vulnerabilities as critical, high, medium, or low severity.
This is our assessment and you should evaluate its applicability to your own environment.
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.
The versions of Octopus Server affected by this vulnerability are:
All 0.x.x, 1.x.x, 2.x.x, 3.x.x, 4.x.x versions
All 2018.x.x, 2019.x.x, 2020.1.x, 2020.2.x, 2020.3.x, 2020.4.x, 2020.5.x versions
All 2020.6.x versions before 2020.6.5146
All 2021.1.x versions before 2021.1.7316
To address this vulnerability, we have released Octopus Server version:
The latest versions of Octopus Deploy products can be downloaded from
https://octopus.com/downloads and previous versions can be downloaded from
What You Need to Do
Octopus Deploy recommends that you upgrade to the latest version (2021.1.7316). You can download the latest version of Octopus Server from
If you can’t upgrade to the latest version (2021.1.7316):
If you have feature version…
…then upgrade to this version
2018.x.x, 2019.x.x, 2020.1.x, 2020.2.x, 2020.3.x, 2020.4.x, 2020.5.x
2020.6.5146 or greater
2020.6.5146 or greater
2021.1.7316 or greater
If you are unable to patch your Octopus Server installations you can effectively mitigate this vulnerability by deleting the Octopus Server log file post installation or reconfiguration of the Octopus Server. The log file is located in the following directory by default:
If you have any questions or concerns regarding this advisory, please contact our support team (https://octopus.com/support).
Exploitation and Public Announcements
The Octopus Deploy security team is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory.
This vulnerability was found by Octopus Deploy Engineering.
|Current Version (v. 6)||Jul 08, 2021 00:27||@a user|
|v. 5||Jul 07, 2021 23:52||@a user|
|v. 4||Jul 07, 2021 23:50||@a user|
|v. 3||Jul 07, 2021 23:27||@a user|
|v. 2||Jul 07, 2021 01:04||@a user|
|v. 1||Jul 07, 2021 00:50||@a user|