wcf icon indicating copy to clipboard operation
wcf copied to clipboard

Improper Restriction of XML External Entity Reference [System.Security.Cryptography.Xml]

Open Havunen opened this issue 2 years ago • 3 comments

Overview Affected versions of this package are vulnerable to Improper Restriction of XML External Entity Reference during the XML signature verification process.

Remediation Upgrade System.Security.Cryptography.Xml to version 4.7.1, 6.0.1 or higher.

-> [email protected] |-> [email protected] |--->[email protected] |------> Fixed in: System.Security.Cryptography.Xml 4.7.1,6.0.1

Could this package be updated to version 6.0.1 https://github.com/dotnet/wcf/blob/main/eng/Versions.props#L37 ?

Havunen avatar Aug 11 '22 18:08 Havunen

We will update this, but FYI WCF client isn't vulnerable to this issue. I examined the problem the fix addresses and the WCF client doesn't have the vulnerable scenario. Basically, we never use SignedXml to verify a signature on a received message, we only use it to sign a security header on an outgoing message and the entire payload for that is generated by WCF. The only purpose for WCF to updating our dependency and release a new package (which we will do) is to satisfy any systems which scan for vulnerable dependencies. There is no actual threat to using WCF with an older version.

mconnew avatar Aug 18 '22 23:08 mconnew

Good to hear, thanks! :)

Havunen avatar Aug 19 '22 05:08 Havunen

FYI there will be a small delay on this as we missed updating all our dependency versions in our last release so I want to evaluate and update everything to the latest version at once.

mconnew avatar Aug 19 '22 06:08 mconnew