CVE-2025-27820: Apache HttpClient disables domain checks
A bug in PSL validation logic in Apache HttpClient 5.4.x disables domain checks, affecting cookie management and host name verification. Discovered by the Apache HttpClient team. Fixed in the 5.4.3 release.
Published Apr 24, 2025 · Updated May 17, 2025
Affected packages
org.apache.httpcomponents.client5:httpclient5
- Ecosystem
- Maven
- Affected
- >= 5.4-alpha1, < 5.4.3
- Fixed in
- 5.4.3
- Check
mvn dependency:tree -Dincludes=org.apache.httpcomponents.client5:httpclient5
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A bug in PSL validation logic in Apache HttpClient 5.4.x disables domain checks, affecting cookie management and host name verification. Discovered by the Apache HttpClient team. Fixed in the 5.4.3 release.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-27820
- https://github.com/apache/httpcomponents-client/pull/574
- https://github.com/apache/httpcomponents-client/pull/621
- https://hc.apache.org/httpcomponents-client-5.4.x/index.html
- https://lists.apache.org/thread/55xhs40ncqv97qvoocok44995xp5kqn8
- https://security.netapp.com/advisory/ntap-20250516-0003
- https://github.com/advisories/GHSA-73m2-qfq3-56cx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
