Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. asyncpg
  4. ›
  5. CVE-2020-17446

CVE-2020-17446: Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer

April 20, 2021 (updated September 12, 2024)

asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger a crash or execute arbitrary code (on a database client) via a crafted server response, because of access to an uninitialized pointer in the array data decoder.

References

  • github.com/MagicStack/asyncpg
  • github.com/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0
  • github.com/MagicStack/asyncpg/releases/tag/v0.21.0
  • github.com/advisories/GHSA-2xpj-f5g2-8p7m
  • github.com/pypa/advisory-database/tree/main/vulns/asyncpg/PYSEC-2020-24.yaml
  • lists.debian.org/debian-lts-announce/2020/09/msg00002.html
  • nvd.nist.gov/vuln/detail/CVE-2020-17446

Code Behaviors & Features

Detect and mitigate CVE-2020-17446 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.21.0

Fixed versions

  • 0.21.0

Solution

Upgrade to version 0.21.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-824: Access of Uninitialized Pointer

Source file

pypi/asyncpg/CVE-2020-17446.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:51 +0000.