-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Description
We are using nHapi version 3.2.2 in a .NET application and have identified that it has a transitive dependency on System.Drawing.Common version 5.0.0, which currently has a critical security vulnerability marked against it (as reported by various security scanning tools such as GitHub Dependabot and others).
Issue
System.Drawing.Common v5.0.0is not compatible with non-Windows platforms unless proper native dependencies are installed.- It also has a critical security vulnerability.
- nHapi indirectly depends on this package — we’re not sure if it’s essential to the core functionality of the library.
Questions
- Is this dependency on
System.Drawing.Commonactually required by nHapi? - If so, can it be updated to a more recent and secure version (e.g., 7.x or removed altogether if not used)?
- If it is used for legacy functionality (e.g., barcode/image rendering), can it be moved to an optional package or excluded from the core library?
We’d appreciate your advice or any planned mitigation steps.
Thanks for maintaining nHapi!
Environment
- nHapi version: 3.2.2
- Target framework: .NET 8 (cross-platform)
- OS: Windows / Linux
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file