UBUNTU-CVE-2022-32205

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2022-32205
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32205.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-32205
Related
Published
2022-06-27T00:00:00Z
Modified
2022-06-27T00:00:00Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

A malicious server can serve excessive amounts of Set-Cookie: headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error.This denial state might remain for as long as the same cookies are kept, match and haven't expired. Due to cookie matching rules, a server on foo.example.com can set cookies that also would match for bar.example.com, making it it possible for a "sister server" to effectively cause a denial of service for a sibling site on the same second level domain using this method.

References

Affected packages

Ubuntu:22.04:LTS / curl

Package

Name
curl
Purl
pkg:deb/ubuntu/curl@7.81.0-1ubuntu1.3?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.81.0-1ubuntu1.3

Affected versions

7.*

7.74.0-1.3ubuntu2
7.74.0-1.3ubuntu3
7.80.0-3
7.81.0-1
7.81.0-1ubuntu1.1
7.81.0-1ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "curl-dbgsym": "7.81.0-1ubuntu1.3",
            "curl": "7.81.0-1ubuntu1.3",
            "libcurl4": "7.81.0-1ubuntu1.3",
            "libcurl4-gnutls-dev": "7.81.0-1ubuntu1.3",
            "libcurl4-dbgsym": "7.81.0-1ubuntu1.3",
            "libcurl3-nss": "7.81.0-1ubuntu1.3",
            "libcurl4-doc": "7.81.0-1ubuntu1.3",
            "libcurl3-nss-dbgsym": "7.81.0-1ubuntu1.3",
            "libcurl3-gnutls": "7.81.0-1ubuntu1.3",
            "libcurl3-gnutls-dbgsym": "7.81.0-1ubuntu1.3",
            "libcurl4-openssl-dev": "7.81.0-1ubuntu1.3",
            "libcurl4-nss-dev": "7.81.0-1ubuntu1.3"
        }
    ]
}