ADVISORIES

SUSE Security Update

SUSE-SU-2024:4036-1

Security update for httpcomponents-client, httpcomponents-core

Details

This update for httpcomponents-client, httpcomponents-core fixes the following issues:

httpcomponents-client:

  • Update to version 4.5.14
  • HTTPCLIENT-2206: Corrected resource de-allocation by fluent

response objects.

  • HTTPCLIENT-2174: URIBuilder to return a new empty list instead

of unmodifiable Collections#emptyList.

  • Don't retry requests in case of NoRouteToHostException.
  • HTTPCLIENT-2144: RequestBuilder fails to correctly copy charset

of requests with form url-encoded body.

  • PR #269: 4.5.x use array fill and more.
  • Use Arrays.fill().
  • Remove redundant modifiers.
  • Use Collections.addAll() and Collection.addAll() APIs instead of loops.
  • Remove redundant returns.
  • No need to explicitly declare an array when calling a vararg method.
  • Remote extra semicolons (;).
  • Use a 'L' instead of 'l' to make long literals more readable.
  • PublicSuffixListParser.parseByType(Reader) allocates but does

not use a 256 char StringBuilder.

  • Incorrect handling of malformed authority component by

URIUtils#extractHost (bsc#1177488, CVE-2020-13956).

  • Avoid updating Content-Length header in a 304 response.
  • Bug fix: BasicExpiresHandler is annotated as immutable but is

not (#239)

  • HTTPCLIENT-2076: Fixed NPE in LaxExpiresHandler.

httpcomponents-core:

  • Upgraded to version 4.4.14
  • PR #231: 4.4.x Use better map apis and more.
  • Remove redundant modifiers.
  • Use Collections.addAll() API instead of loops.
  • Remove redundant returns.
  • No need to explicitly declare an array when calling a vararg method.
  • Remote extra semicolons (;).
  • Bug fix: Non-blocking TLSv1.3 connections can end up in an

infinite event spin when closed concurrently by the local and the remote endpoints.

  • HTTPCORE-647: Non-blocking connection terminated due to

'java.io.IOException: Broken pipe' can enter an infinite loop flushing buffered output data.

  • PR #201, HTTPCORE-634: Fix race condition in AbstractConnPool

that can cause internal state corruption when persistent connections are manually removed from the pool.

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Module for Development Tools 15 SP5httpcomponents-client
All versions before 4.5.14-150200.3.9.1 (fixed in 4.5.14-150200.3.9.1)
SUSE:Linux Enterprise Module for Development Tools 15 SP5httpcomponents-core
All versions before 4.4.14-150200.3.9.1 (fixed in 4.4.14-150200.3.9.1)
SUSE:Linux Enterprise Module for Development Tools 15 SP6httpcomponents-client
All versions before 4.5.14-150200.3.9.1 (fixed in 4.5.14-150200.3.9.1)
SUSE:Linux Enterprise Module for Development Tools 15 SP6httpcomponents-core
All versions before 4.4.14-150200.3.9.1 (fixed in 4.4.14-150200.3.9.1)
SUSE:Manager Server Module 4.3httpcomponents-client
All versions before 4.5.14-150200.3.9.1 (fixed in 4.5.14-150200.3.9.1)
SUSE:Manager Server Module 4.3httpcomponents-core
All versions before 4.4.14-150200.3.9.1 (fixed in 4.4.14-150200.3.9.1)
openSUSE:Leap 15.5httpcomponents-client
All versions before 4.5.14-150200.3.9.1 (fixed in 4.5.14-150200.3.9.1)
openSUSE:Leap 15.5httpcomponents-core
All versions before 4.4.14-150200.3.9.1 (fixed in 4.4.14-150200.3.9.1)
openSUSE:Leap 15.6httpcomponents-client
All versions before 4.5.14-150200.3.9.1 (fixed in 4.5.14-150200.3.9.1)
openSUSE:Leap 15.6httpcomponents-core
All versions before 4.4.14-150200.3.9.1 (fixed in 4.4.14-150200.3.9.1)

References