Skip to content

Commit 7ca8cff

Browse files
committed
Exclude CVE-2025-27820 versions of httpclient5 from dependency resolution
This addresses CVE-2025-27820: >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 Sources: - https://nvd.nist.gov/vuln/detail/CVE-2025-27820 - GHSA-73m2-qfq3-56cx - https://ossindex.sonatype.org/vulnerability/CVE-2025-27820
1 parent e595663 commit 7ca8cff

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ New features:
1111
** NOTE: Experimental features may receive breaking changes without a major
1212
version increase.
1313

14+
Fixes:
15+
16+
* Excluded CVE-2025-27820 vulnerable versions of Apache httpclient5 from
17+
dependency resolution. Note that this might only affect consumers using Gradle
18+
module metadata.
19+
1420

1521
== Version 2.6.0 ==
1622

settings.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ dependencyResolutionManagement {
1616
create("constraintLibs") {
1717
library("cbor", "com.upokecenter:cbor:[4.5.1,5)")
1818
library("guava", "com.google.guava:guava:[24.1.1,33)")
19-
library("httpclient5", "org.apache.httpcomponents.client5:httpclient5:[5.0.0,6)")
19+
library("httpclient5", "org.apache.httpcomponents.client5", "httpclient5").version {
20+
strictly("[5.0.0,6)")
21+
reject("[5.4-alpha1,5.4.3)")
22+
}
2023
library("slf4j", "org.slf4j:slf4j-api:[1.7.25,3)")
2124

2225
val jacksonVer = version("jackson", "[2.13.2.1,3)")

0 commit comments

Comments
 (0)