critical9.8
CVE-2020-17446
Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | asyncpg | < 0.21.0 | 0.21.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Magic | Asyncpg | before 0.21.0 |
| Debian | Debian Linux | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/MagicStack/asyncpg/releases/tag/v0.21.0
- https://lists.debian.org/debian-lts-announce/2020/09/msg00002.html
- https://github.com/advisories/GHSA-2xpj-f5g2-8p7m
- https://nvd.nist.gov/vuln/detail/CVE-2020-17446
- https://github.com/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0
- https://github.com/pypa/advisory-database/tree/main/vulns/asyncpg/PYSEC-2020-24.yaml