Security Advisory 2021-06

Summary Cleartext Storage of Sensitive Information (CVE-2021-31817)
Advisory Number 2021-06
Discovery Date 14 May 2021
Patch Release Date 10 Jun 2021
Advisory Release Date 08 Jul 2021
Product Octopus Server
Operating System Linux Container
Severity Medium
CVE ID CVE-2021-31817

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.

Severity

Octopus Deploy has given this vulnerability a medium rating. This rating was given according to the Octopus Deploy severity 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.

Details

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 2020.6.x versions before 2020.6.5146

  • All 2021.1.x versions before 2021.1.7316

Fix

To address this vulnerability, we have released Octopus Server version:

  • 2020.6.5146

  • 2021.1.7316

The latest versions of Octopus Deploy products can be downloaded from https://octopus.com/downloads and previous versions can be downloaded from https://octopus.com/downloads/previous

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 https://octopus.com/downloads

If you can't upgrade to the latest version (2021.1.7316):

If you have feature version... ...then upgrade to this version
2020.6.x 2020.6.5146 or greater
2021.1.x 2021.1.7316 or greater

Mitigation

If you are unable to update your Octopus Server container 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:

1/home/octopus/.octopus/OctopusServer/Server/Logs

Support

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.

Source

This vulnerability was found by Octopus Deploy Engineering.