{"id":"USN-5079-1","summary":"curl vulnerabilities","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","modified":"2026-02-10T04:42:19Z","published":"2021-09-15T11:11:13Z","related":["UBUNTU-CVE-2021-22945","UBUNTU-CVE-2021-22946","UBUNTU-CVE-2021-22947"],"upstream":["CVE-2021-22945","CVE-2021-22946","CVE-2021-22947","UBUNTU-CVE-2021-22945","UBUNTU-CVE-2021-22946","UBUNTU-CVE-2021-22947"],"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"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.15?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.58.0-2ubuntu3.15"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"7.58.0-2ubuntu3.15","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","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.58.0-2ubuntu3.15","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.58.0-2ubuntu3.15","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-22946"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-22947"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5079-1.json"}},{"package":{"name":"curl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/curl@7.68.0-1ubuntu2.7?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.68.0-1ubuntu2.7"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"7.68.0-1ubuntu2.7","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","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.68.0-1ubuntu2.7","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.68.0-1ubuntu2.7","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-22946"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-22947"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5079-1.json"}}],"schema_version":"1.7.3"}