Skip to content

Fix System.Formats.Asn1 CG alert#5863

Merged
eerhardt merged 1 commit intomicrosoft:mainfrom
eerhardt:Asn1Alert
Sep 25, 2024
Merged

Fix System.Formats.Asn1 CG alert#5863
eerhardt merged 1 commit intomicrosoft:mainfrom
eerhardt:Asn1Alert

Conversation

@eerhardt
Copy link
Copy Markdown
Member

@eerhardt eerhardt commented Sep 23, 2024

Description

System.Formats.Asn1 6.0.0 and 8.0.0 have security vulnerabilities. See CVE-2024-38095.

Updating to 8.0.1 to fix these.

Microsoft Reviewers: Open in CodeFlow

<PackageVersion Include="Azure.Identity" Version="1.12.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<!-- https://github.com/Azure/azure-cosmos-dotnet-v3/pull/3313 -->
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the comment above still accurate?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes - that is the reason why we need to "lift" Newtonsoft.Json - because of CosmosDB.

@eerhardt
Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@eerhardt eerhardt merged commit 36d769d into microsoft:main Sep 25, 2024
@joperezr
Copy link
Copy Markdown
Member

/backport to release/8.2

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to release/8.2: https://github.com/dotnet/aspire/actions/runs/11077661241

@github-actions
Copy link
Copy Markdown
Contributor

@joperezr backporting to release/8.2 failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Fix System.Formats.Asn1 CG alert
Using index info to reconstruct a base tree...
M	Directory.Packages.props
Falling back to patching base and 3-way merge...
Auto-merging Directory.Packages.props
CONFLICT (content): Merge conflict in Directory.Packages.props
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 Fix System.Formats.Asn1 CG alert
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@github-actions
Copy link
Copy Markdown
Contributor

@joperezr an error occurred while backporting to release/8.2, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

@eerhardt eerhardt deleted the Asn1Alert branch September 27, 2024 21:38
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2024
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants