Every CVE Search/ Get API key

CVE-2022-27779

libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided...

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

2.79%Up 1.9 points since Jun 2, 2022
90%50%10%1%

What each source reports

NVD Score used 5.3

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.

Record
CVE-2022-27779
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-201
Updated
2026-11-03
CVE List No score

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.

Record
CVE-2022-27779
Weakness
CWE-201
Updated
2026-11-02
EUVDEUVD-2022-32274 No score

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.

Record
EUVD-2022-32274
Updated
2026-11-03
GitHub AdvisoriesGHSA-r5c3-3mf2-x8c7 5.3

libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided...

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.

Record
GHSA-r5c3-3mf2-x8c7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-201, CWE-668
Updated
2026-11-02
OSVALPINE-CVE-2022-27779 5.3

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.

Record
ALPINE-CVE-2022-27779
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSVAZL-9908 5.3

CVE-2022-27779 affecting package curl for versions less than 7.83.1-1

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.

Record
AZL-9908
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVBELL-CVE-2022-27779 5.3

CVE-2022-27779 does not affect BellSoft software

Record
BELL-CVE-2022-27779
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2022-27779 5.3

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.

Record
DEBIAN-CVE-2022-27779
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSVCURL-CVE-2022-27779 No score

cookie for trailing dot TLD

libcurl wrongly allows HTTP cookies to be set for Top Level Domains (TLDs) if the hostname is provided with a trailing dot.

curl can be told to receive and send cookies when communicating using HTTP(S). curl's "cookie engine" can be built with or without Public Suffix List awareness. If PSL support not provided, a more rudimentary check exists to at least prevent cookies from being set on TLDs. This check was broken if the hostname in the URL uses a trailing dot.

This can allow arbitrary sites to set cookies that then would get sent to a different and unrelated site or domain.

Record
CURL-CVE-2022-27779
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-27779
Weakness
CWE-201
Updated
2026-11-04
OSVopenSUSE-SU-2024:12062-1 No score

curl-7.83.1-1.1 on GA media

These are all security issues fixed in the curl-7.83.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12062-1
Updated
2026-11-02

Affected products

Show 2 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
curl
Alpine:v3.16
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.17
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.18
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.19
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.20
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.21
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.22
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.23
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.24
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Azure Linux:2
before 7.83.1-1
7.83.1-1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
curl
Debian:12
before 7.83.1-1
7.83.1-1
curl
Debian:13
before 7.83.1-1
7.83.1-1
curl
Debian:14
before 7.83.1-1
7.83.1-1
curl
openSUSE:Tumbleweed
From an advisory covering 6 CVEs
before 7.83.1-1.1
7.83.1-1.1

History

History
RecordedChangedSources
affected
factsEUVD, NVD, OSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-27779 is a medium vulnerability (CVSS 5.3) in Haxx Curl, published May 11, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.79%, the 86th percentile. Fixed in curl 7.83.1-r0.

References

Show 10 moreShow less
MoveEnter Open