Skip to content

httpclient-4.5.jar: 3 vulnerabilities (highest severity is: 6.5) #81

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - httpclient-4.5.jar

Apache HttpComponents Client

Path to dependency file: /pom.xml

Path to vulnerable library: /ory/org/apache/httpcomponents/httpclient/4.5/httpclient-4.5.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (httpclient version) Remediation Possible**
WS-2019-0379 Medium 6.5 commons-codec-1.9.jar Transitive N/A*
CVE-2020-13956 Medium 5.3 httpclient-4.5.jar Direct 4.5.13
WS-2017-3734 Medium 5.3 httpclient-4.5.jar Direct 4.5.3

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

WS-2019-0379

Vulnerable Library - commons-codec-1.9.jar

The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar

Dependency Hierarchy:

  • httpclient-4.5.jar (Root Library)
    • commons-codec-1.9.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Apache commons-codec before version “commons-codec-1.13-RC1” is vulnerable to information disclosure due to Improper Input validation.

Publish Date: 2019-05-20

URL: WS-2019-0379

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2019-05-20

Fix Resolution: commons-codec:commons-codec:1.13

CVE-2020-13956

Vulnerable Library - httpclient-4.5.jar

Apache HttpComponents Client

Path to dependency file: /pom.xml

Path to vulnerable library: /ory/org/apache/httpcomponents/httpclient/4.5/httpclient-4.5.jar

Dependency Hierarchy:

  • httpclient-4.5.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Apache HttpClient versions prior to version 4.5.13 and 5.0.3 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.

Publish Date: 2020-12-02

URL: CVE-2020-13956

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-13956

Release Date: 2020-12-02

Fix Resolution: 4.5.13

⛑️ Automatic Remediation will be attempted for this issue.

WS-2017-3734

Vulnerable Library - httpclient-4.5.jar

Apache HttpComponents Client

Path to dependency file: /pom.xml

Path to vulnerable library: /ory/org/apache/httpcomponents/httpclient/4.5/httpclient-4.5.jar

Dependency Hierarchy:

  • httpclient-4.5.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Apache httpclient before 4.5.3 are vulnerable to Directory Traversal. The user-provided path was able to override the specified host, resulting in giving network access to a sensitive environment.

Publish Date: 2017-01-21

URL: WS-2017-3734

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://issues.apache.org/jira/browse/HTTPCLIENT-1803

Release Date: 2017-01-21

Fix Resolution: 4.5.3

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions