VDB

ALPINE-CVE-2022-27779

ALPINE-CVE-2022-27779 PUBLISHED CVSS 5.300000190734863 MEDIUM

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.

Risk Scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected Products

VendorProductVersions
Alpine:v3.20curl7.55.1-r0, 7.83.0-r0, 7.82.0-r1
Alpine:v3.16curl7.19.2-r0, 7.82.0, 7.83.0-r0
Alpine:v3.18curl7.52.1-r1, 0, 7.19.2-r0
Alpine:v3.23curl0, 7.19.2-r1, 7.19.5-r0
Alpine:v3.22curl7.82.0, 0, 7.19.2-r0
Alpine:v3.19curl0, 7.19.2-r0, 7.82.0
Alpine:v3.17curl7.41.0-r0, 7.19.4-r0, 7.21.5-r1
Alpine:v3.21curl0, 7.27.0-r0, 7.82.0
Alpine:v3.24curl7.82.0

Timeline

  • Jun 2, 2022 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jul 8, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›