CVE-2022-27779

Source
https://cve.org/CVERecord?id=CVE-2022-27779
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-27779.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-27779
Aliases
Downstream
Related
Published
2022-06-02T14:15:44.093Z
Modified
2026-04-11T12:42:52.943872Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "introduced": "8.2.0"
                },
                {
                    "fixed": "8.2.12"
                },
                {
                    "introduced": "9.0.0"
                },
                {
                    "fixed": "9.0.6"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "9.1.0"
                }
            ],
            "source": "CPE_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/curl/curl

Affected ranges

Type
GIT
Repo
https://github.com/curl/curl
Events
Database specific
{
    "cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "7.82.0"
        },
        {
            "fixed": "7.83.1"
        }
    ],
    "source": "CPE_FIELD"
}

Affected versions

Other
curl-7_82_0
curl-7_83_0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-27779.json"