GitHub Advisory Database
GHSA-2xpj-f5g2-8p7m
Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer
Details
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 versions |
|---|---|---|
| PyPI | asyncpg | All versions before 0.21.0 (fixed in 0.21.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-17446
- https://github.com/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0
- https://github.com/MagicStack/asyncpg
- https://github.com/MagicStack/asyncpg/releases/tag/v0.21.0
- https://github.com/advisories/GHSA-2xpj-f5g2-8p7m
- https://github.com/pypa/advisory-database/tree/main/vulns/asyncpg/PYSEC-2020-24.yaml
- https://lists.debian.org/debian-lts-announce/2020/09/msg00002.html