amudusu197052 (Community Member) asked a question.

Team, We have a security issue in veracode on the line: return new TrustManager[] { new X509TrustManager(). The issue reported is "Improper Validation of Certificate with Host Mismatch (CWE ID 297)(1 flaw)"

Description

The failure to validate host-specific certificate data may mean that, while the certificate read was valid, it was not for the site originally requested.


Topics (3)

No articles found
Loading

Ask the Community

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