High
python-dnslib — security advisory
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.
- Products
- python-dnslib
- Affected versions
- 0.9.10-1, 0.9.12-1, 0.9.14-1, 0.9.16-1, 0.9.18-1, 0.9.19-1, 0.9.23-1, 0.9.24-1, 0.9.25-1, 0.9.7+hg20170303-1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-22846
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:45 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2022-22846
python-dnslib
Fixed versions: Not specified
python-dnslib
Fixed versions: Not specified
python-dnslib
Fixed versions: Not specified
python-dnslib
Fixed versions: Not specified
python-dnslib
Fixed versions: Not specified
python-dnslib
Fixed versions: Not specified
python-dnslib
Fixed versions: Not specified
Complete source record
{
"id": "a8c5ce7650c76d839e33abced9e39260c8fab717a1cac6f15d4d180daf7dac20",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-22846",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-22846",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2022-22846",
"products": [
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.7+hg20170303-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.10-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.12-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.14-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9.16-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9.18-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9.19-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.23-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.9.24-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.25-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.25-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "python-dnslib",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.25-1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2022-22846",
"aliases": [
"UBUNTU-CVE-2022-22846"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.9.7+hg20170303-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-dnslib",
"binary_version": "0.9.7+hg20170303-1"
},
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.7+hg20170303-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.9.10-1",
"0.9.12-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.12-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.9.14-1",
"0.9.16-1",
"0.9.18-1",
"0.9.19-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.19-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.9.23-1",
"0.9.24-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.24-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.9.25-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.25-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.9.25-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.25-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dnslib",
"purl": "pkg:deb/ubuntu/python-dnslib?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.9.25-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22846.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dnslib",
"binary_version": "0.9.25-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:01.998094151Z",
"provider": "osv",
"upstream": [
"CVE-2022-22846"
],
"references": [
"https://ubuntu.com/security/CVE-2022-22846",
"https://www.cve.org/CVERecord?id=CVE-2022-22846"
]
},
"related_cves": [
{
"value": "CVE-2022-22846",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354625,
"published_at": "2022-01-10T14:12:00+00:00"
}