CVE-2025-27820
Apache HttpComponents: PSL (Public Suffix List) validation bypass
Description
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
INFO
Published Date :
April 24, 2025, 12:15 p.m.
Last Modified :
July 16, 2025, 2:48 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
Solution
- Update Apache HttpClient to version 5.4.3.
- Verify cookie management and host name verification.
Public PoC/Exploit Available at Github
                                            CVE-2025-27820 has a 2 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-27820.
                                        
| URL | Resource | 
|---|---|
| https://github.com/apache/httpcomponents-client/pull/574 | Issue Tracking Patch | 
| https://github.com/apache/httpcomponents-client/pull/621 | Issue Tracking Patch | 
| https://hc.apache.org/httpcomponents-client-5.4.x/index.html | Product | 
| https://lists.apache.org/thread/55xhs40ncqv97qvoocok44995xp5kqn8 | Mailing List Patch | 
| https://security.netapp.com/advisory/ntap-20250516-0003/ | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-27820 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-27820
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Unifi Controller (DB included)
Dockerfile Shell
Java library with common web stuff
http http-client mail email smtp port network servlet sitemap useragent user-agent web xservlet ph-web java-library java
CSS Java JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-27820 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2025-27820 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Jul. 16, 2025 Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:httpclient:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 5.4.3 Added CPE Configuration OR *cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:* Added Reference Type Apache Software Foundation: https://github.com/apache/httpcomponents-client/pull/574 Types: Issue Tracking, Patch Added Reference Type Apache Software Foundation: https://github.com/apache/httpcomponents-client/pull/621 Types: Issue Tracking, Patch Added Reference Type Apache Software Foundation: https://hc.apache.org/httpcomponents-client-5.4.x/index.html Types: Product Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/55xhs40ncqv97qvoocok44995xp5kqn8 Types: Mailing List, Patch Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20250516-0003/ Types: Third Party Advisory 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108May. 16, 2025 Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20250516-0003/ 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Apr. 24, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Added CWE CWE-295 
- 
                            New CVE Received by [email protected]Apr. 24, 2025 Action Type Old Value New Value Added Description 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 Added Reference https://github.com/apache/httpcomponents-client/pull/574 Added Reference https://github.com/apache/httpcomponents-client/pull/621 Added Reference https://hc.apache.org/httpcomponents-client-5.4.x/index.html Added Reference https://lists.apache.org/thread/55xhs40ncqv97qvoocok44995xp5kqn8 
 
                         
                         
                         
                                             
                                            