
Cloud Vulnerability DB
A community-led vulnerabilities database
Hutool v5.7.18's HttpRequest component was discovered to contain a security vulnerability that ignores all TLS/SSL certificate validation. This vulnerability was identified with CVE-2022-22885 and was disclosed on February 16, 2022. The issue affects the HttpRequest functionality in Hutool version 5.7.18 (MITRE).
The vulnerability stems from the HttpRequest component's default behavior of using TrustAnyHostnameVerifier, which accepts all SSL/TLS certificates regardless of their validity. This implementation returns true for all hostname verifications, effectively bypassing the security checks meant to validate the authenticity of server certificates. The vulnerability has been assigned a CVSS v3 Base Score of 9.8 Critical, indicating its severe impact on security (AttackerKB).
The vulnerability's impact is significant as it could allow attackers to perform man-in-the-middle attacks by bypassing certificate validation. This means that malicious actors could potentially intercept and manipulate HTTPS traffic between the application and external servers without detection. The high CVSS score reflects the potential for complete compromise of confidentiality, integrity, and availability of the affected systems (MITRE).
Users should update to a version of Hutool that properly implements certificate validation or explicitly configure their applications to use proper certificate validation mechanisms. When using HttpRequest, it is recommended to implement proper hostname verification by using javax.net.ssl.HttpsURLConnection.DefaultHostnameVerifier instead of the default TrustAnyHostnameVerifier (GitHub Issue).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."