GitHub Advisory Database
GHSA-73m2-qfq3-56cx
Apache HttpClient disables domain checks
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.httpcomponents.client5:httpclient5 | From 5.4-alpha1 before 5.4.3 (fixed in 5.4.3) |
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://github.com/apache/httpcomponents-client
- 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