Pin System.Security.Cryptography.Xml to 8.0.3 (fix CVE-2026-26171, CVE-2026-33116)#1253
Pin System.Security.Cryptography.Xml to 8.0.3 (fix CVE-2026-26171, CVE-2026-33116)#1253NickJosevski wants to merge 1 commit into
Conversation
|
this is ugly, but parent lib on net8 won't get updated: |
04f9c95 to
3b737d5
Compare
3b737d5 to
2e4a621
Compare
It's fine, this is the correct way to fix this (in this situation). We can remove this when we upgrade Tentacle to .NET 10 in Q3. |
|
I had a green build at one point 😞 |
|
@ATGardner I was hoping to see the Renovate bot notice and suggest fixes like this? Maybe it can't because it's a transitive dependancy? |
|
i configured the bot to look at wouldn't the actual nuget dependencies be handled by the root renovate-config.js, and |
|
oh, sorry - the new renovate configuration also has a custom manager looking at |
A Trivy scan of octopusdeploy/kubernetes-agent-tentacle flagged the transitively-resolved System.Security.Cryptography.Xml 8.0.2 (HIGH): - CVE-2026-26171 (.NET XML: security bypass + DoS) - CVE-2026-33116 (.NET XML: DoS via infinite recursion in XmlDecryptionTransform) Pin it directly to 8.0.3 (NET8 servicing release containing both fixes) Scoped to .NETCoreApp; net48 uses the GAC System.Security and is unaffected. Verified the restore resolves 8.0.3 across all net8.0 RIDs.
2e4a621 to
7060f6b
Compare
Fixes: #1256
Background
A Trivy CVE scan of the published
octopusdeploy/kubernetes-agent-tentacleimage flagged two HIGH vulnerabilities inSystem.Security.Cryptography.Xml8.0.2, which is pulled in transitively (no direct reference exists in the repo):XmlDecryptionTransformThese were the only fixable HIGH/CRITICAL findings in the image — the remaining OS-layer CRITICALs (perl, zlib) currently have no Debian fix available.
How to review this PR
Quality ✔️ — single
<ItemGroup>pin inOctopus.Tentacle.csproj. Green means go. Re-running a Trivy scan on a freshly-built image should drop both HIGH findings.