{"id":"USN-5907-1","summary":"c-ares vulnerability","details":"It was discovered that c-ares incorrectly handled certain sortlist strings.\nA remote attacker could use this issue to cause c-ares to crash, resulting\nin a denial of service, or possibly execute arbitrary code.\n","modified":"2026-04-27T16:21:38.927359Z","published":"2023-03-02T12:48:30Z","related":["UBUNTU-CVE-2022-4904"],"upstream":["CVE-2022-4904","UBUNTU-CVE-2022-4904"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5907-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-4904"}],"affected":[{"package":{"name":"c-ares","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.14.0-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14.0-1ubuntu0.2"}]}],"versions":["1.13.0-2","1.13.0-3","1.14.0-1","1.14.0-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libc-ares2","binary_version":"1.14.0-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5907-1.json","cves_map":{"cves":[{"id":"CVE-2022-4904","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"c-ares","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.15.0-1ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.0-1ubuntu0.2"}]}],"versions":["1.15.0-1build1","1.15.0-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libc-ares2","binary_version":"1.15.0-1ubuntu0.2"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-4904","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","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-5907-1.json"}},{"package":{"name":"c-ares","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.18.1-1ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.1-1ubuntu0.22.04.1"}]}],"versions":["1.17.1-1ubuntu1","1.18.1-1","1.18.1-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libc-ares2","binary_version":"1.18.1-1ubuntu0.22.04.1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-4904","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5907-1.json"}}],"schema_version":"1.7.5"}