org.apache.httpcomponents:httpclient@4.5 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.httpcomponents:httpclient package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Improper Input Validation

org.apache.httpcomponents:httpclient is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Improper Input Validation. Apache HttpClient can misinterpret malformed authority component in request URIs passed to the library as java.net.URI object and pick the wrong target host for request execution.

How to fix Improper Input Validation?

Upgrade org.apache.httpcomponents:httpclient to version 4.5.13 or higher.

[,4.5.13)
  • M
Directory Traversal

org.apache.httpcomponents:httpclient is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Directory Traversal. String input by user is not validated for the presence of leading character / and is passed to the constructor as path information, resulting in a Directory Traversal vulnerability.

How to fix Directory Traversal?

Upgrade org.apache.httpcomponents:httpclient to version 4.5.3 or higher.

[,4.5.3)