CVE-2020-17446 json
Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer
published 2020-08-12 6 y ago modified 2026-06-17 4 mo 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
Exploit prediction
2.42% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
-
github.com
/MagicStack/asyncpg/releases/tag/v0.21.0
web, patch, release-notes, third-party-advisory
-
github.com
/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0
web
-
lists.debian.org
/debian-lts-announce/2020/09/msg00002.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-17446
advisory
-
github.com
/MagicStack/asyncpg
package
-
github.com
/advisories/GHSA-2xpj-f5g2-8p7m
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/asyncpg/PYSEC-2020-24.yaml
web
Sources
- CVE List CVE-2020-17446
- GitHub Advisory GHSA-2xpj-f5g2-8p7m
- NVD CVE-2020-17446
- OSV PYSEC-2020-24
Fencer Vulns 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.