CVE-2022-4009
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn affected versions of Octopus Deploy it is possible for a user to introduce code via offline package creation
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceIn affected versions of Octopus Deploy, an authenticated user can introduce arbitrary code during offline package creation. This allows malicious code to be embedded in deployment packages, potentially leading to supply chain attacks when those packages are deployed to target environments.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 3.0.19, < 2022.2.8552>= 2022.3.348, < 2022.3.10750>= 2022.4.791, < 2022.4.8319CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Octopus Server versionNavigate to the Octopus Web Portal, click your profile icon in the top right, and select 'About'. The version number is displayed on the 'Octopus Server' line. Alternatively, check the Windows installed programs list or the Octopus Server logs.Affected if The installed version is >= 3.0.19 AND < 2022.2.8552, OR >= 2022.3.348 AND < 2022.3.10750, OR >= 2022.4.791 AND < 2022.4.8319
-
Confirm offline package creation feature usageReview Octopus deployment processes and runbooks for any steps that create offline packages. Check API access logs for calls to endpoints related to offline package creation, such as /api/packages/offline or similar package upload endpoints.Affected if The Octopus Server environment uses or has used offline package creation functionality at any point while running an affected version
-
Identify users with package creation permissionsIn the Octopus Web Portal, go to 'Users' and 'Teams' sections. Review user roles and permissions to determine which accounts have package creation, package upload, or process editing rights.Affected if There are user accounts with permissions to create or upload packages, particularly non-administrator accounts in affected versions
You are affected if your Octopus Server version falls within any of the three affected ranges AND your environment has used offline package creation with authenticated user accounts that have package creation permissions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2022.2.85522022.3.107502022.4.8319
Update Octopus Deploy to the patched version. Audit existing offline packages for malicious content and implement additional validation/sanitization for package contents during offline creation workflows.
Upgrade to 2022.2.8552 (or later 2022.2.x), 2022.3.10750 (or later 2022.3.x), or 2022.4.8319 (or later 2022.4.x) depending on your current branch
- 1. Identify the currently installed Octopus Server version from the UI (Configuration > Nodes) or via the API
- 2. Determine which version branch your current installation falls into (2022.2.x, 2022.3.x, or 2022.4.x)
- 3. For 2022.2.x line: upgrade to version 2022.2.8552 or later
- 4. For 2022.3.x line: upgrade to version 2022.3.10750 or later
- 5. For 2022.4.x line: upgrade to version 2022.4.8319 or later
- 6. Review Octopus Deploy release notes for your target version to understand any required migration steps
- 7. Perform a backup of the Octopus database and configuration before upgrading
- 8. Test the upgrade in a non-production environment first
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation12.0 h
- Testing10.0 h
- Review / QA6.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $9,504.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-4009 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-4009 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data