{"id":"USN-5079-3","summary":"curl vulnerabilities","details":"USN-5079-1 fixed vulnerabilities in curl. One of the fixes introduced a\nregression on Ubuntu 18.04 LTS. This update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that curl incorrect handled memory when sending data to\n an MQTT server. A remote attacker could use this issue to cause curl to\n crash, resulting in a denial of service, or possibly execute arbitrary\n code. (CVE-2021-22945)\n \n Patrick Monnerat discovered that curl incorrectly handled upgrades to TLS.\n When receiving certain responses from servers, curl would continue without\n TLS even when the option to require a successful upgrade to TLS was\n specified. (CVE-2021-22946)\n \n Patrick Monnerat discovered that curl incorrectly handled responses\n received before STARTTLS. A remote attacker could possibly use this issue\n to inject responses and intercept communications. (CVE-2021-22947)\n","modified":"2026-02-10T04:42:19Z","published":"2021-09-21T11:34:54Z","related":["UBUNTU-CVE-2021-22947"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5079-3"},{"type":"REPORT","url":"https://launchpad.net/bugs/1944120"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.16?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.58.0-2ubuntu3.16"}]}],"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","7.58.0-2ubuntu3.15"],"ecosystem_specific":{"binaries":[{"binary_name":"curl","binary_version":"7.58.0-2ubuntu3.16"},{"binary_name":"libcurl3-gnutls","binary_version":"7.58.0-2ubuntu3.16"},{"binary_name":"libcurl3-nss","binary_version":"7.58.0-2ubuntu3.16"},{"binary_name":"libcurl4","binary_version":"7.58.0-2ubuntu3.16"},{"binary_name":"libcurl4-gnutls-dev","binary_version":"7.58.0-2ubuntu3.16"},{"binary_name":"libcurl4-nss-dev","binary_version":"7.58.0-2ubuntu3.16"},{"binary_name":"libcurl4-openssl-dev","binary_version":"7.58.0-2ubuntu3.16"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5079-3.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:18.04:LTS"}}}],"schema_version":"1.7.3"}