Title: Transient Dependency on System.Drawing.Common v5.0.0 with Critical Vulnerability in nHapi 3.2.2 · Issue #678 · nHapiNET/nHapi · GitHub
Open Graph Title: Transient Dependency on System.Drawing.Common v5.0.0 with Critical Vulnerability in nHapi 3.2.2 · Issue #678 · nHapiNET/nHapi
X Title: Transient Dependency on System.Drawing.Common v5.0.0 with Critical Vulnerability in nHapi 3.2.2 · Issue #678 · nHapiNET/nHapi
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 (a...
Open Graph 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 sec...
X 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 sec...
Opengraph URL: https://github.com/nHapiNET/nHapi/issues/678
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Transient Dependency on System.Drawing.Common v5.0.0 with Critical Vulnerability in nHapi 3.2.2","articleBody":"## Description\n\nWe 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).\n\n## Issue\n\n- `System.Drawing.Common v5.0.0` is not compatible with non-Windows platforms unless proper native dependencies are installed.\n- It also has a **critical security vulnerability**.\n- nHapi indirectly depends on this package — we’re not sure if it’s essential to the core functionality of the library.\n\n## Questions\n\n1. Is this dependency on `System.Drawing.Common` actually required by nHapi?\n2. If so, can it be updated to a more recent and secure version (e.g., 7.x or removed altogether if not used)?\n3. 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?\n\nWe’d appreciate your advice or any planned mitigation steps. \nThanks for maintaining nHapi!\n\n## Environment\n\n- **nHapi version:** 3.2.2 \n- **Target framework:** .NET 8 (cross-platform) \n- **OS:** Windows / Linux\n","author":{"url":"https://github.com/aarondglover","@type":"Person","name":"aarondglover"},"datePublished":"2025-04-03T01:13:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/678/nHapi/issues/678"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dc28844d-dcc2-8b64-b283-c38623633bf9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85CC:D84EF:49FEA:5F5BA:6A4C2027 |
| html-safe-nonce | 89b904a3bf0051e7400793166ed64069d06735ae76ad67bd654aad5466a015c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUNDOkQ4NEVGOjQ5RkVBOjVGNUJBOjZBNEMyMDI3IiwidmlzaXRvcl9pZCI6IjY0OTYyNTc0MjQxODkzMDA3NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 73e399f911e05def8f277172d6f4310f5f80c97714081a2d0e9923f39c205902 |
| hovercard-subject-tag | issue:2967911374 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nHapiNET/nHapi/678/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dfe1dbf50cebc2b9b4f932f3a98b463e42757bb991de125e4d5c72c510430a79/nHapiNET/nHapi/issues/678 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dfe1dbf50cebc2b9b4f932f3a98b463e42757bb991de125e4d5c72c510430a79/nHapiNET/nHapi/issues/678 |
| og:image:alt | 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 sec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aarondglover |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| turbo-cache-control | no-preview |
| go-import | github.com/nHapiNET/nHapi git https://github.com/nHapiNET/nHapi.git |
| octolytics-dimension-user_id | 70870423 |
| octolytics-dimension-user_login | nHapiNET |
| octolytics-dimension-repository_id | 29993598 |
| octolytics-dimension-repository_nwo | nHapiNET/nHapi |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29993598 |
| octolytics-dimension-repository_network_root_nwo | nHapiNET/nHapi |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f95fb36c72adc940ff991c03531114b2245658d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width