Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-17446 EUVD-2020-0048GHSA-2xpj-f5g2-8p7mPYSEC-2020-24

Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer

Published Aug 12, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 asyncpg 0.21.0-1 —
Debian 13 asyncpg 0.21.0-1 —
Debian 12 asyncpg 0.21.0-1 —
Debian 9 asyncpg 0.8.4-1+deb9u1 DLA-2363-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS asyncpg 0.20.0-1ubuntu0.1~esm1 USN-9047-1
Ubuntu Pro 18.04 LTS asyncpg 0.13.0-1ubuntu3+esm1 USN-9047-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-asyncpg 0.29.0-1.3 openSUSE-SU-2026:11998-1, openSUSE-SU-2024:14132-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI asyncpg < 0.21.0 0.21.0 GHSA-2xpj-f5g2-8p7m

Advisories 4

References