CVE-2020-17446
asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
Description
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | asyncpg | 0.21.0 |
| debian 11 | asyncpg | 0.21.0-1 |
| debian 12 | asyncpg | 0.21.0-1 |
| debian 13 | asyncpg | 0.21.0-1 |
| debian 14 | asyncpg | 0.21.0-1 |
| debian 9 | asyncpg | 0.8.4-1+deb9u1 |
| echo | asyncpg | 0.21.0-1 |
| ubuntu 18.04-ESM | asyncpg | no fix listed |
| ubuntu 20.04-ESM | asyncpg | no fix listed |
References
- https://github.com/MagicStack/asyncpg
- https://github.com/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2020-17446
- https://www.cve.org/CVERecord?id=CVE-2020-17446