Skip to content

[Autofix] Fix 1 OSS risk#2

Open
vardior9 wants to merge 1 commit into
masterfrom
autofix/a92b89ace8ed4a21b9be44eeb3bb35d4
Open

[Autofix] Fix 1 OSS risk#2
vardior9 wants to merge 1 commit into
masterfrom
autofix/a92b89ace8ed4a21b9be44eeb3bb35d4

Conversation

@vardior9
Copy link
Copy Markdown
Member

@vardior9 vardior9 commented Jun 2, 2026

✅ Fixed

  • OSS · View in Apiiro

    • Summary:
      Pinned System.Drawing.Common to version 4.7.3 in WorkflowCore.Sample17.csproj to remediate a critical vulnerability in the transitive dependency (previously resolved to 4.7.0).

    • What Changed:
      Added a direct PackageReference for System.Drawing.Common version 4.7.3 in src/samples/WorkflowCore.Sample17/WorkflowCore.Sample17.csproj. This overrides the transitive resolution of System.Drawing.Common@4.7.0 that was pulled in through the chain: WorkflowCore.Persistence.SqlServer → Microsoft.EntityFrameworkCore.SqlServer@5.0.1 → Microsoft.Data.SqlClient@2.0.1 → ... → System.Drawing.Common@4.7.0.

    • Why This Fix:
      SubDependencyPinning was chosen because the vulnerable package (System.Drawing.Common@4.7.0) is a deep transitive dependency. The overlay lists 4.7.3 as the nearest fix version, which is a patch-level bump within the same major.minor series — minimizing compatibility risk. Upgrading the top-level parent (Microsoft.EntityFrameworkCore.SqlServer to 6.x+) would require a target framework change from netcoreapp3.1 to net6.0+, which is a much larger and riskier change for a sample project.

    • Files Changed:

      • src/samples/WorkflowCore.Sample17/WorkflowCore.Sample17.csproj
    • Potential Impact:
      This is a patch-level bump (4.7.0 → 4.7.3) of a transitive system library in a sample project. The risk of behavioral change is minimal. The project targets netcoreapp3.1 which is itself end-of-life, so this fix addresses the immediate critical vulnerability while keeping the change surface small.


About Apiiro Autofix

This PR was automatically generated by Apiiro Autofix. Review all changes carefully before merging and run your test suite to verify no regressions.

@vardior9 vardior9 added the apiiro-autofix Pull requests generated by Apiiro Autofix label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apiiro-autofix Pull requests generated by Apiiro Autofix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant