CVE-2022-27779

State
Published
Severity
Not scored
Published
Jun 1, 2022
Updated
Nov 2, 2026
Reserved
Mar 23, 2022

Read the record on cve.org

Description

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 List](https://publicsuffix.org/)awareness. 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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-201 Information Exposure Through Sent Data (CWE-201)

Affected Products

ProductVersions
https://github.com/curl/curln/a
  • Fixed in 7.83.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.