RStock596849 (Community Member) asked a question.

Worked Example fixing CWE 117 in C#

Hopefully someone can provide a link to an example in C# of how to stop Veracode complaining about CWE 117. We understand the nature of the CWE 117, have implemented the documented cleansing function, stepped through the implementation debug and verified the sanitisation does occur before writing to logs. When re-scanning in Veracode it still reports the same flaws.

 

I've read through a lot of similar comments on here about solutions still being flagged as flaws but most threads don't post the final solution.

 

I'd really appreciate if anyone has a worked solution C# that resolved Veracode flagged flaws they could share.

 

~Many Thanks

Richard


Topics (5)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.