Improper Certificate Validation Affecting libcurl package, versions <0:7.61.1-18.el8_4.1


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-LIBCURL-2119321
  • published26 Jul 2021
  • disclosed21 Jul 2021

Introduced: 21 Jul 2021

CVE-2021-22924  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Centos:8 libcurl to version 0:7.61.1-18.el8_4.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcurl package and not the libcurl package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths case insensitively,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.

References

CVSS Scores

version 3.1