{"id":"CVE-2022-22846","aliases":["DEBIAN-CVE-2022-22846","EUVD-2022-0095","GHSA-r478-c2pc-m7gx","PYSEC-2022-4","UBUNTU-CVE-2022-22846"],"status":"published","title":"dnslib has DNS reply verification issue","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00872,"percentile":0.59149,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-345"],"published":"2022-01-09T00:49:30Z","modified":"2026-10-28T02:30:45Z","fixes":[{"ecosystem":"PyPI","package":"dnslib","fixed_in":["0.9.17"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-dnslib","fixed_in":["0.9.18-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-dnslib","fixed_in":["0.9.18-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-dnslib","fixed_in":["0.9.18-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.17"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.18-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.18-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.18-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.17"}]}],"versions":["0.1","0.2","0.3","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.5","0.6","0.6.1","0.6.2","0.7","0.8","0.8.1","0.8.2","0.8.3","0.9.0","0.9.10","0.9.12","0.9.13","0.9.14","0.9.16","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"]},{"source":"osv","ecosystem":"PyPI","package":"dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.17"}]}],"versions":["0.1","0.2","0.3","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.5","0.6","0.6.1","0.6.2","0.7","0.8","0.8.1","0.8.2","0.8.3","0.9.0","0.9.10","0.9.12","0.9.13","0.9.14","0.9.16","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.7+hg20170303-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.10-1","0.9.12-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.14-1","0.9.16-1","0.9.18-1","0.9.19-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.23-1","0.9.24-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.25-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.25-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"python-dnslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.25-1"]}],"products":[{"vendor":"dnslib_project","product":"dnslib"}],"references":[{"url":"https://github.com/paulc/dnslib/issues/30","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22846","tags":["advisory"]},{"url":"https://github.com/paulc/dnslib/commit/76e8677699ed098387d502c57980f58da642aeba","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r478-c2pc-m7gx","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/dnslib/PYSEC-2022-4.yaml","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22846.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-22846","tags":["advisory"]},{"url":"https://github.com/paulc/dnslib","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-22846","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-22846","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-22846","description":"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.","status":"published","published":"2022-01-09T00:49:30Z","modified":"2024-08-03T03:28:42.473Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:26.293612Z"}],"euvd":[{"id":"EUVD-2022-0095","description":"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.","status":"published","published":"2022-01-09T00:49:30Z","modified":"2024-08-03T03:28:42Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N","level":"high"}],"updated_at":"2026-11-03T03:25:52.201883Z"}],"ghsa":[{"id":"GHSA-r478-c2pc-m7gx","title":"dnslib has DNS reply verification issue","description":"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.","status":"published","published":"2022-01-12T20:07:10Z","modified":"2024-09-18T20:06:41Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T14:38:04.690827Z"}],"nvd":[{"id":"CVE-2022-22846","description":"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.","status":"published","published":"2022-01-10T14:12:58.86Z","modified":"2026-06-17T04:29:08.317Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"CVE-2022-22846","description":"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.","status":"published","published":"2022-01-09T00:49:30Z","modified":"2026-10-28T02:30:45.789675618Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N","level":"high"}],"updated_at":"2026-11-02T15:44:24.061177Z"},{"id":"DEBIAN-CVE-2022-22846","description":"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.","status":"published","published":"2022-01-10T14:12:58.86Z","modified":"2026-11-03T08:00:55.870737407Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"GHSA-r478-c2pc-m7gx","title":"dnslib has DNS reply verification issue","description":"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.","status":"published","published":"2022-01-12T20:07:10Z","modified":"2024-09-18T20:25:01.257498Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-345"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"UBUNTU-CVE-2022-22846","description":"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.","status":"published","published":"2022-01-10T14:12:00Z","modified":"2026-10-17T12:56:01.998094151Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:52.391598Z"},{"id":"PYSEC-2022-4","description":"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.","status":"published","published":"2022-01-10T14:12:00Z","modified":"2023-11-08T04:08:14.013022Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
