Skip to content
Fencer Intel
critical 9.8

CVE-2020-17446 json

Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer

published 6y ago modified 4mo ago also GHSA-2xpj-f5g2-8p7m , PYSEC-2020-24 , EUVD-2020-0048

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi asyncpg 0.21.0
  • magic asyncpg 0.21.0
  • asyncpg Debian 14, Debian 13, Debian 12 0.21.0-1

debian advisories DEBIAN-CVE-2020-17446

  • python-asyncpg openSUSE Tumbleweed 0.31.0-1.4
  • python-asyncpg openSUSE Tumbleweed 0.29.0-1.3

opensuse advisories openSUSE-SU-2026:11998-1openSUSE-SU-2024:14132-1

Is CVE-2020-17446 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

2.42% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi asyncpg
<0.21.0
0.21.0

Classification

Weakness
  • CWE-824 Access of Uninitialized Pointer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.