Upgrade vulnerable NuGet dependencies flagged by Snyk - #76
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: shayan <shayan@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: shayan <shayan@cognition.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves all high-severity Snyk dependency findings by bumping direct packages and adding explicit
PackageReferences for two transitives whose fixed versions the EF Core 7.0.x tree doesn't reach on its own.src/Infrastructure/Infrastructure.csproj:Microsoft.EntityFrameworkCore*7.0.10 → 7.0.20 (pullsMicrosoft.Data.SqlClient5.1.5,System.Drawing.Common6.0.0)Npgsql7.0.4 → 7.0.7;Npgsql.EntityFrameworkCore.PostgreSQL(.NodaTime)7.0.4 → 7.0.11Azure.Identity1.11.4 (SqlClient 5.1.5 only brings 1.10.3, which is still vulnerable to SNYK-DOTNET-AZUREIDENTITY-7246762)System.Text.Json8.0.5 (Microsoft.Extensions.DependencyModel7.0.0 pins 7.0.0)src/WebApi/WebApi.csproj:Microsoft.EntityFrameworkCore.Design7.0.10 → 7.0.20.Dockerfile: pinaspnet:7.0→aspnet:7.0.20andsdk:7.0→sdk:7.0.410(latest .NET 7 patch releases; same major)..github/workflows/dotnet.yml:dotnet-version: 6.0.x→7.0.x. The workflow was failing onmaintoo because the runner had no .NET 7 runtime for thenet7.0test hosts; this makes the CI check meaningful again.Resolved versions in all three
project.assets.jsonverified: Azure.Identity 1.11.4, Microsoft.Data.SqlClient 5.1.5, Npgsql 7.0.7, System.Drawing.Common 6.0.0, System.Text.Json 8.0.5.dotnet buildclean,dotnet test20/20 passing; Snyk PR check passes.Snyk issues addressed
Note: .NET 7 is end-of-life, so the base image will still carry OS-package CVEs; moving to .NET 8 would require a major version change and is out of scope here.
Link to Devin session: https://app.devin.ai/sessions/45555d06ec1f4f3086c0eb510b96b9f1
Open in Devin Desktop: https://app.devin.ai/desktop/session/45555d06ec1f4f3086c0eb510b96b9f1?variant=devin