CVE-2022-22846Dnslib Project Dnslib
Medium 5.3 No auth needed
Follow: this CVE · Dnslib Project · Dnslib Project Dnslib We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 55
- Auth required
- No
- Published
- Jan 10, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dnslib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dnslib |
< 0.9.17 |
0.9.17 |
pip install "dnslib>=0.9.17" |
| PyPI | dnslib |
< 0.9.17 |
0.9.17 |
pip install "dnslib>=0.9.17" |
Per OSV / GitHub Advisories (GHSA-r478-c2pc-m7gx, PYSEC-2022-4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dnslib_project | dnslib | ≤ 0.9.16 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory