Improper Certificate Validation Affecting curl-minimal package, versions <0:7.87.0-2.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.5% (77th 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-AMZN2023-CURLMINIMAL-3348228
  • published7 Mar 2023
  • disclosed2 Jun 2022

Introduced: 2 Jun 2022

CVE-2022-27782  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 curl-minimal to version 0:7.87.0-2.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-083.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl-minimal package and not the curl-minimal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

libcurl would reuse a previously created connection even when a TLS or SSHrelated option had been changed that should have prohibited reuse.libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse if one of them matches the setup. However, several TLS andSSH settings were left out from the configuration match checks, making themmatch too easily.

CVSS Scores

version 3.1