Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Octopus.Tentacle dependencies to mitigate System.Drawing.Common CVE #694

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

acodrington
Copy link
Contributor

@acodrington acodrington commented Nov 27, 2023

Remove implicit dependencies on System.Drawing.Common to address CVE-2021-24112. This is achieved by updating the following references in Octopus.Tentacle to the latest versions:

  • System.Diagnostics.EventLog (7.0.0 -> 8.0.0)
  • System.DirectoryServices.AccountManagement (5.0.0 -> 8.0.0)
  • System.Security.Cryptography.ProtectedData (4.5.0 -> 8.0.0)

Background

There is a CVE lodged against the version of System.Drawing.Common being referenced.

Results

Partially fixes Upgrade all usages of System.Drawing.Common in Tentacle.

The following will be completed in future PRs to fully address the CVE:

  • Halibut must be updated to a new version that mitigates this vulnerability
  • Implicit references in Octopus.Tentacle.Contracts must be removed.

Before

Octopus.Tentacle implicitly references System.Drawing.Common 5.0.0

20231127-141029_rider64_BcO0zgUZHO

After

No implicit references to System.Drawing.Common in Octopus.Tentacle

20231127-140159_rider64_Cg1ndyHukP

How to review this PR

Quality ✔️

Pre-requisites

  • I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
  • I have considered informing or consulting the right people, according to the ownership map.
  • I have considered appropriate testing for my change.

@acodrington acodrington force-pushed the sast/system-drawing-cve branch from fbb7587 to efe32a7 Compare November 27, 2023 04:22
@acodrington acodrington force-pushed the sast/system-drawing-cve branch from efe32a7 to a0d1eb3 Compare November 27, 2023 05:46
@acodrington acodrington changed the title [Draft] Update libraries to mitigate System.Drawing.Common CVE Update Octopus.Tentacle dependencies to mitigate System.Drawing.Common CVE Nov 27, 2023
@acodrington acodrington marked this pull request as ready for review November 27, 2023 06:14
@acodrington acodrington requested a review from a team as a code owner November 27, 2023 06:14
@acodrington
Copy link
Contributor Author

[sc-65659]

Copy link

Copy link
Contributor

@evolutionise evolutionise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We can close the related issue when I merge the PR with the updated Halibut version I guess

@acodrington acodrington merged commit 015c093 into main Nov 28, 2023
2 checks passed
@acodrington acodrington deleted the sast/system-drawing-cve branch November 28, 2023 02:32
@acodrington acodrington mentioned this pull request Nov 28, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade all usages of System.Drawing.Common in Tentacle
2 participants