SK fork: SK-local features through release 2026.10.5.12 #1

Closed
Silentkelpie wants to merge 137 commits from Silentkelpie/SK-RynthCore:main into main
3 changed files with 30 additions and 0 deletions
Showing only changes of commit c596208e42 - Show all commits

fix(deps): pin Tmds.DBus.Protocol 0.21.3 to clear NU1903 (GHSA-xrw6-gwf8-vvr9)

Direct reference overrides Avalonia's vulnerable transitive 0.20.x in App.Avalonia and Engine. Release notes in Changelog/.

Co-authored-by: Cursor <cursoragent@cursor.com>
BlankenshipG 2026-10-04 14:03:01 -04:00

View file

@ -0,0 +1,26 @@
# Security: pin Tmds.DBus.Protocol 0.21.3 (NU1903)
**Date:** 2026-10-04
**Branch:** `fix/tmds-dbus-advisory` (based on `main`; not merged)
**Advisory:** NU1903 / [GHSA-xrw6-gwf8-vvr9](https://github.com/advisories/GHSA-xrw6-gwf8-vvr9) (high severity)
## Problem
Avalonia 11.x (through `Avalonia.FreeDesktop`) depends on `Tmds.DBus.Protocol` 0.20.x, which has a
known vulnerability. NuGet restore reported NU1903 for every project that references Avalonia.
## Fix
A direct `PackageReference` to `Tmds.DBus.Protocol` **0.21.3** overrides the vulnerable transitive version:
- `src/RynthCore.App.Avalonia/RynthCore.App.Avalonia.csproj`
- `src/RynthCore.Engine/RynthCore.Engine.csproj`
The same pin is in RynthSuite (`Tools/RynthCore.LootEditor`, `Tools/RynthCore.MonsterEditor`) on `feat/ilt-hub`.
## Verification
- `dotnet restore` / `dotnet list package --include-transitive` resolve `Tmds.DBus.Protocol 0.21.3` in all projects.
- No NU190x warnings remain.
- RynthAi 0.5.2 builds and publishes (NativeAOT) against this branch.
## Notes
- No runtime behaviour change on Windows. D-Bus is only used by Avalonia on Linux desktops.
- Drop the explicit pin once Avalonia ships a release that depends on a fixed version.

View file

@ -25,6 +25,8 @@
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.3" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.3" />
<!-- Direct reference overrides Avalonia's transitive 0.20.x (NU1903 / GHSA-xrw6-gwf8-vvr9). -->
<PackageReference Include="Tmds.DBus.Protocol" Version="0.21.3" />
</ItemGroup>
<ItemGroup>

View file

@ -38,6 +38,8 @@
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
<PackageReference Include="Avalonia.Skia" Version="11.2.3" />
<PackageReference Include="Avalonia.Themes.Simple" Version="11.2.3" />
<!-- Overrides Avalonia.FreeDesktop transitive Tmds.DBus.Protocol (NU1903 / GHSA-xrw6-gwf8-vvr9). -->
<PackageReference Include="Tmds.DBus.Protocol" Version="0.21.3" />
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.2.0" />
</ItemGroup>