chore(deps): bump .NET, EF Core and library patch versions to fix ASP.NET Core CVEs
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- csharp
- Domínio
- build-system, security
Direção de pesquisa
Start with the root Directory.Packages.props and check for hard-coded versions in src and tests as directed in the issue. Verify the listed package versions on NuGet, then restore, build, and test Datasync.Toolkit.sln; Docker and an optional Cosmos connection string affect live test coverage. Done means the package pins and comments match the acceptance criteria, vulnerability checks are clear, and build-library.yml succeeds on the fork.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Part 1 of the outdated-package sweep (found with dotnet-outdated 4.8.1 on 2026-11-05). This is the security-relevant patch bump for the main library solution (Datasync.Toolkit.sln). Related: #584 (Dependabot alert 9, samples only).
Scope (this PR only)
Patch-level bumps only, in the root Directory.Packages.props. No source changes are expected.
| Property / package | Current | Target | Notes |
|---|---|---|---|
<DotNetVersion> |
10.0.9 | 10.0.14 | Drives Microsoft.AspNetCore.Mvc.Testing, Microsoft.AspNetCore.OpenApi, Microsoft.Extensions.* (Caching.Memory, DependencyInjection.Abstractions, Http, Logging.Abstractions), System.Formats.Asn1, System.Text.Json, System.Threading.Tasks.Dataflow. 10.0.9 is in the range affected by ASP.NET Core RCE advisories GHSA-qjpx-jqm5-h2c4 (fixed 10.0.13) and GHSA-g27p-qf6j-c96c (fixed 10.0.14). |
<EFCoreVersion> |
10.0.9 | 10.0.14 | Drives all Microsoft.EntityFrameworkCore.* packages. |
Npgsql.EntityFrameworkCore.PostgreSQL |
10.0.2 | 10.0.3 | |
Microsoft.SourceLink.GitHub |
10.0.300 | 10.0.403 | |
SQLitePCLRaw.bundle_e_sqlite3 |
3.0.3 | 3.0.5 | Deliberate NU1903 pin (GHSA-2m69-gcr7-jv3q). Keep the explanatory XML comment. Must stay on the 3.x line. |
System.Linq.Async |
7.0.0 | 7.0.1 | Only used by CommunityToolkit.Datasync.Client.Test. |
<ODataVersion> and Microsoft.Spatial |
8.4.3 | 8.4.4 | Microsoft.Spatial is pinned separately from <ODataVersion> (line ~43): update both. 8.4.4 exists on NuGet for Core, Edm and Spatial. Microsoft.AspNetCore.OData 9.4.1 depends on [8.4.0, 9.0.0) so this is compatible. Do not go to 9.0.0 (see the separate OData 9 issue). |
Verify each target version exists with curl -s https://api.nuget.org/v3-flatcontainer/<lowercase-id>/index.json before editing; if a newer patch of the same line has shipped, use it.
Out of scope: samples, minor/major bumps, test tooling.
Steps
- Edit
Directory.Packages.propsas above. Do not touch any.csprojunless a version is hard-coded there (check withgrep -rn 'Version="' src tests --include=*.csproj). dotnet restore && dotnet build && dotnet testfrom the repo root. Docker is needed for the Testcontainers-based suites (MongoDB, SQL Server, PostgreSQL); Cosmos tests needCOSMOS_CONNECTION_STRINGand are skipped otherwise (see README "Running Live Tests").- Confirm no vulnerability warnings:
dotnet restoremust emit noNU1901-NU1904, anddotnet list Datasync.Toolkit.sln package --vulnerable --include-transitiveshould be empty. - Re-run
dotnet-outdated Datasync.Toolkit.sln(dotnet tool install -g dotnet-outdated-tool); the packages above should no longer be reported. - Dispatch
build-library.ymlon the fork with--ref <branch>and wait for success.
Acceptance criteria
- All packages in the table are at target versions; comments in the props file preserved.
- Local build and tests pass; no NU190x warnings.
build-library.ymlpasses on the fork.- PR is a single commit-scoped change:
chore(deps): bump .NET, EF Core and library patch versions.
- Linguagem predominante
- C#
- Estrelas
- 184
- Forks
- 48
- Merge médio
- 21min
- PRs com merge (30d)
- 7
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CommunityToolkit/Datasync
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
CommunityToolkit/Datasync#600 · 1 comentário ·
-
Blocked dependencies Server
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
CommunityToolkit/Datasync#594 ·
-
dependencies Examples
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 40/100
CommunityToolkit/Datasync#593 ·
-
dependencies Infrastructure
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
CommunityToolkit/Datasync#592 ·
-
dependencies Infrastructure
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
CommunityToolkit/Datasync#591 ·
Todas as issues de CommunityToolkit/Datasync
Issues semelhantes
-
needs attention untriaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
stryker-mutator/stryker-net#3974 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
JiaFeiMiao-K-Cat/DiscImageStudio#171 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
DDOS VulnerbilityAbertaS: Untriaged
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
DeltaV-Station/Delta-v#6711 ·
Mantenedores costumam responder em até 1 dia