VDB
KO
MEDIUM 5.3

GHSA-hjcp-jmpx-g3qm

Apache HttpComponents Client: Connection Leak on Content-Encoding Decode Error Leads to Pool Exhaustion DoS

Quick fix

GHSA-hjcp-jmpx-g3qm — org.apache.httpcomponents.client5:httpclient5: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.6.3</version> for org.apache.httpcomponents.client5:httpclient5

Details

HttpClient based on the classic i/o model fails to correctly release the underlying connection back to the connection manager if it encounters an invalid or unsupported `Content-Encoding` header value in the response message. Please note this defect does not affect HttpClient based on the async i/o model.

This issue affects Apache HttpComponents Client: from 5.0-alpha1 through 5.6.2.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.apache.httpcomponents.client5:httpclient5
Introduced in: 5.0-alpha1 Fixed in: 5.6.3
Fix # pom.xml: bump <version>5.6.3</version> for org.apache.httpcomponents.client5:httpclient5

References