Hi Northwoods team,
We are using Northwoods.Go.Pdf.GoPdfWriter.dll version 5.1.0.4 for PDF export. Our static security scanning tool (Coverity) is reporting a finding: “Risky cryptographic hashing function / weak hashing algorithm”.
From a quick decompilation review, it appears that MD5CryptoServiceProvider is instantiated/used in certain internal code paths of GoPdfWriter (we suspect it may be related to image handling / image dedup / resource generation during PDF creation).
Since MD5 is considered weak (collision-prone) and flagged by our security policies/tooling, we need guidance on the following:
-
Is MD5 usage expected in
GoPdfWriter.dll v5.1.0.4? If yes, what is it used for (e.g., caching/dedup only vs any integrity/authentication/security decision)? -
Which version fixes/removes MD5 usage (e.g., replaced with SHA-256 or another approach)? Please share the recommended upgrade target version.
-
Is there a configuration/setting/workaround to avoid the MD5 code path (for example, related to image export features) without a major refactor?
-
If MD5 is only used for non-security purposes, do you have an official statement/recommendation we can reference for our internal security review?
Can you please review it.
Thanks,
Yug