Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dnslib
  4. ›
  5. CVE-2022-22846

CVE-2022-22846: dnslib has DNS reply verification issue

January 12, 2022 (updated September 18, 2024)

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.

References

  • github.com/advisories/GHSA-r478-c2pc-m7gx
  • github.com/paulc/dnslib
  • github.com/paulc/dnslib/commit/76e8677699ed098387d502c57980f58da642aeba
  • github.com/paulc/dnslib/issues/30
  • github.com/pypa/advisory-database/tree/main/vulns/dnslib/PYSEC-2022-4.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-22846

Code Behaviors & Features

Detect and mitigate CVE-2022-22846 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.17

Fixed versions

  • 0.9.17

Solution

Upgrade to version 0.9.17 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

pypi/dnslib/CVE-2022-22846.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:29 +0000.