{"id":"USN-5021-1","summary":"curl vulnerabilities","details":"Harry Sintonen and Tomas Hoger discovered that curl incorrectly handled\nTELNET connections when the -t option was used on the command line.\nUninitialized data possibly containing sensitive information could be sent\nto the remote server, contrary to expectations. (CVE-2021-22898,\nCVE-2021-22925)\n\nHarry Sintonen discovered that curl incorrectly reused connections in the\nconnection pool. This could result in curl reusing the wrong connections.\n(CVE-2021-22924)\n","modified":"2026-02-10T04:42:17Z","published":"2021-07-22T18:17:55Z","related":["UBUNTU-CVE-2021-22898","UBUNTU-CVE-2021-22924","UBUNTU-CVE-2021-22925"],"upstream":["CVE-2021-22898","CVE-2021-22924","CVE-2021-22925","UBUNTU-CVE-2021-22898","UBUNTU-CVE-2021-22924","UBUNTU-CVE-2021-22925"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5021-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22898"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22924"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22925"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.14?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.58.0-2ubuntu3.14"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"curl"},{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"libcurl3-gnutls"},{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"libcurl3-nss"},{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"libcurl4"},{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.58.0-2ubuntu3.14","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2021-22898","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-22924","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-22925","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5021-1.json"}},{"package":{"name":"curl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/curl@7.68.0-1ubuntu2.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.68.0-1ubuntu2.6"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"curl"},{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"libcurl3-gnutls"},{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"libcurl3-nss"},{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"libcurl4"},{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.68.0-1ubuntu2.6","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2021-22898","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-22924","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-22925","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5021-1.json"}}],"schema_version":"1.7.3"}