CVE-2020-17446
Magic Asyncpg vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Asyncpg, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Magic Asyncpg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/MagicStack/asyncpg/releases/tag/v0.21.0 · Patch
- lists.debian.org/debian-lts-announce/2020/09/msg00002.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-17446
- github.com/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0
- github.com/advisories/GHSA-2xpj-f5g2-8p7m
- github.com/pypa/advisory-database/tree/main/vulns/asyncpg/PYSEC-2020-24.yaml
- nvd.nist.gov/vuln/detail/CVE-2020-17446
- cve.org/CVERecord?id=CVE-2020-17446
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.