paulc/dnslib · Security
dnslib has DNS reply verification issue
- GHSA ID
- GHSA-r478-c2pc-m7gx
- CVE ID
- CVE-2022-22846
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v4
- 8.7 · 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
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.
CWEs
- CWE-345 · Insufficient Verification of Data Authenticity
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22846 ↗
- https://github.com/paulc/dnslib/issues/30 ↗
- https://github.com/paulc/dnslib/commit/76e8677699ed098387d502c57980f58da642aeba ↗
- https://github.com/advisories/GHSA-r478-c2pc-m7gx ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/dnslib/PYSEC-2022-4.yaml ↗