USN-5079-1 (UBUNTU-CVE-2021-22945)

Vulnerability from osv_ubuntu – Published: 2021-09-15 11:11 – Updated: 2026-04-27 08:06 – Source website
VLAI
Summary
curl vulnerabilities
Details

It was discovered that curl incorrect handled memory when sending data to an MQTT server. A remote attacker could use this issue to cause curl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-22945)

Patrick Monnerat discovered that curl incorrectly handled upgrades to TLS. When receiving certain responses from servers, curl would continue without TLS even when the option to require a successful upgrade to TLS was specified. (CVE-2021-22946)

Patrick Monnerat discovered that curl incorrectly handled responses received before STARTTLS. A remote attacker could possibly use this issue to inject responses and intercept communications. (CVE-2021-22947)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-22946",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-22947",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "curl",
            "binary_version": "7.58.0-2ubuntu3.15"
          },
          {
            "binary_name": "libcurl3-gnutls",
            "binary_version": "7.58.0-2ubuntu3.15"
          },
          {
            "binary_name": "libcurl3-nss",
            "binary_version": "7.58.0-2ubuntu3.15"
          },
          {
            "binary_name": "libcurl4",
            "binary_version": "7.58.0-2ubuntu3.15"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "curl",
        "purl": "pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.15?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.58.0-2ubuntu3.15"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.55.1-1ubuntu2",
        "7.55.1-1ubuntu2.1",
        "7.57.0-1ubuntu1",
        "7.58.0-2ubuntu1",
        "7.58.0-2ubuntu2",
        "7.58.0-2ubuntu3",
        "7.58.0-2ubuntu3.1",
        "7.58.0-2ubuntu3.2",
        "7.58.0-2ubuntu3.3",
        "7.58.0-2ubuntu3.5",
        "7.58.0-2ubuntu3.6",
        "7.58.0-2ubuntu3.7",
        "7.58.0-2ubuntu3.8",
        "7.58.0-2ubuntu3.9",
        "7.58.0-2ubuntu3.10",
        "7.58.0-2ubuntu3.12",
        "7.58.0-2ubuntu3.13",
        "7.58.0-2ubuntu3.14"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-22946",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-22947",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "curl",
            "binary_version": "7.68.0-1ubuntu2.7"
          },
          {
            "binary_name": "libcurl3-gnutls",
            "binary_version": "7.68.0-1ubuntu2.7"
          },
          {
            "binary_name": "libcurl3-nss",
            "binary_version": "7.68.0-1ubuntu2.7"
          },
          {
            "binary_name": "libcurl4",
            "binary_version": "7.68.0-1ubuntu2.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "curl",
        "purl": "pkg:deb/ubuntu/curl@7.68.0-1ubuntu2.7?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.68.0-1ubuntu2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.65.3-1ubuntu3",
        "7.65.3-1ubuntu4",
        "7.66.0-1ubuntu1",
        "7.67.0-2ubuntu1",
        "7.68.0-1ubuntu1",
        "7.68.0-1ubuntu2",
        "7.68.0-1ubuntu2.1",
        "7.68.0-1ubuntu2.2",
        "7.68.0-1ubuntu2.4",
        "7.68.0-1ubuntu2.5",
        "7.68.0-1ubuntu2.6"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that curl incorrect handled memory when sending data to\nan MQTT server. A remote attacker could use this issue to cause curl to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2021-22945)\n\nPatrick Monnerat discovered that curl incorrectly handled upgrades to TLS.\nWhen receiving certain responses from servers, curl would continue without\nTLS even when the option to require a successful upgrade to TLS was\nspecified. (CVE-2021-22946)\n\nPatrick Monnerat discovered that curl incorrectly handled responses\nreceived before STARTTLS. A remote attacker could possibly use this issue\nto inject responses and intercept communications. (CVE-2021-22947)\n",
  "id": "USN-5079-1",
  "modified": "2026-04-27T08:06:54Z",
  "published": "2021-09-15T11:11:13Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5079-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-22945"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-22946"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-22947"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "curl vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2021-22945",
    "UBUNTU-CVE-2021-22946",
    "UBUNTU-CVE-2021-22947"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…