Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.httpcomponents.client5/httpclient5
  4. ›
  5. CVE-2025-27820

CVE-2025-27820: Apache HttpClient disables domain checks

April 24, 2025

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

  • github.com/advisories/GHSA-73m2-qfq3-56cx
  • github.com/apache/httpcomponents-client
  • github.com/apache/httpcomponents-client/pull/574
  • github.com/apache/httpcomponents-client/pull/621
  • hc.apache.org/httpcomponents-client-5.4.x/index.html
  • lists.apache.org/thread/55xhs40ncqv97qvoocok44995xp5kqn8
  • nvd.nist.gov/vuln/detail/CVE-2025-27820

Code Behaviors & Features

Detect and mitigate CVE-2025-27820 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.4-alpha1 before 5.4.3

Fixed versions

  • 5.4.3

Solution

Upgrade to version 5.4.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/org.apache.httpcomponents.client5/httpclient5/CVE-2025-27820.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.