Information Exposure Affecting libcurl-minimal package, versions <0:7.87.0-2.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (44th 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-LIBCURLMINIMAL-3348225
  • published7 Mar 2023
  • disclosed2 Jun 2022

Introduced: 2 Jun 2022

CVE-2022-27779  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libcurl-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 libcurl-minimal package and not the libcurl-minimal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trailing dot.curl can be told to receive and send cookies. curl's "cookie engine" can bebuilt with or without Public Suffix Listawareness. If PSL support not provided, a more rudimentary check exists to atleast prevent cookies from being set on TLDs. This check was broken if thehost name in the URL uses a trailing dot.This can allow arbitrary sites to set cookies that then would get sent to adifferent and unrelated site or domain.

CVSS Scores

version 3.1