Use of Incorrectly-Resolved Name or Reference Affecting curl package, versions <7.68.0-1ubuntu2.6


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU2004-CURL-1321090
  • published21 Jul 2021
  • disclosed5 Aug 2021

Introduced: 21 Jul 2021

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

How to fix?

Upgrade Ubuntu:20.04 curl to version 7.68.0-1ubuntu2.6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 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