{"id":"UBUNTU-CVE-2022-22846","details":"The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.","modified":"2026-05-20T16:07:45.042718911Z","published":"2022-01-10T14:12:00Z","upstream":["CVE-2022-22846"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-22846"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-22846"}],"affected":[{"package":{"name":"python-dnslib","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-dnslib?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.7+hg20170303-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.7+hg20170303-1","binary_name":"python-dnslib"},{"binary_version":"0.9.7+hg20170303-1","binary_name":"python3-dnslib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"}},{"package":{"name":"python-dnslib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-dnslib?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.10-1","0.9.12-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.12-1","binary_name":"python3-dnslib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"}},{"package":{"name":"python-dnslib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-dnslib?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.14-1","0.9.16-1","0.9.18-1","0.9.19-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.19-1","binary_name":"python3-dnslib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"}},{"package":{"name":"python-dnslib","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-dnslib?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.23-1","0.9.24-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-dnslib","binary_version":"0.9.24-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"}},{"package":{"name":"python-dnslib","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-dnslib?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.25-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-dnslib","binary_version":"0.9.25-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"}},{"package":{"name":"python-dnslib","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-dnslib?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.25-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-dnslib","binary_version":"0.9.25-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}