Security Advisory 2022-23

Summary Disabled/Deleted users API keys are still usable when access is revoked via an External Auth Provider (CVE-2022-2572)
Advisory Number 2022-23
Discovery Date 29 Jul 2022
Patch Release Date 29 Sep 2022
Advisory Release Date 01 Nov 2022
Product Octopus Server
Operating System Linux and Microsoft Windows
Severity High
CVE ID CVE-2022-2572

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 2022.3.10692 or higher are not affected.

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.

In affected versions of Octopus Server where access is managed by an external authentication provider, it was possible that the API key/keys of a disabled/deleted user were still valid after the access was revoked.

The versions of Octopus Server affected by this vulnerability are:

  • All 3.x versions after 3.5
  • All 4.x versions
  • All 2018.x, 2019.x, 2020.x and 2021.x versions
  • All 2022.1.x versions before 2022.1.3264
  • All 2022.2.x versions before 2022.2.8277
  • All 2022.3.x versions before 2022.3.10586
  • All 2022.4.x versions before 2022.4.2898

As of the 27/09/2022 Octopus Server version 2022.4.x is only available on Octopus Cloud.

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

  • 2022.1.3264
  • 2022.2.8277
  • 2022.3.10586
  • 2022.4.2898

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

Octopus Deploy recommends that you upgrade to the latest version (2022.3.10692). You can download the latest version of Octopus Server from https://octopus.com/downloads

If you have feature version... ...then upgrade to this version
3.5 and greater 2022.1.3264 or greater
4.x, 2018.x, 2019.x, 2020.x, 2021.x 2022.1.3264 or greater
2022.1.x 2022.1.3264 or greater
2022.2.x 2022.2.8277 or greater
2022.3.x 2022.3.10586 or greater
2022.4.x 2022.4.2898 or greater

There is no known mitigation for CVE-2022-2572, it is important to upgrade to a fixed version as soon as possible.

If you have any questions or concerns regarding this advisory, please contact our support team https://octopus.com/support.

The Octopus Deploy security team is not aware of any malicious use of the vulnerability that is described in this advisory.

This vulnerability was found by a customer of Octopus Deploy.