Skip to content

CVE-2022-27779 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 w...

MediumCVSS 5.3 EPSS 2.8%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

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 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.

Affected products

ProductAffected versionsFixed in
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
haxx curl >= 7.82.0, < 7.83.1 7.83.1
netapp hci bootstrap os All versions No fix listed
netapp clustered data ontap All versions No fix listed
netapp solidfire enterprise sds hci storage node All versions No fix listed
netapp solidfire hci management node All versions No fix listed
netapp hci compute node All versions No fix listed
netapp h410s firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
netapp h500s firmware All versions No fix listed
netapp h300s firmware All versions No fix listed
Splunk Universal Forwarder >= 8.2.0, < 8.2.12 8.2.12
Splunk Universal Forwarder >= 9.0.0, < 9.0.6 9.0.6
Splunk Universal Forwarder = 9.1.0 No fix listed
debian/curl(Debian:12) < 7.83.1-1 7.83.1-1
debian/curl(Debian:14) < 7.83.1-1 7.83.1-1
debian/curl(Debian:13) < 7.83.1-1 7.83.1-1
alpine/curl(Alpine:v3.16) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.17) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.18) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.19) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.20) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.21) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
Show 3 more
ProductAffected versionsFixed in
alpine/curl(Alpine:v3.22) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.23) >= 7.82.0, < 7.83.1-r0 7.83.1-r0
alpine/curl(Alpine:v3.24) >= 7.82.0, < 7.83.1-r0 7.83.1-r0

References