VDB
Sign up
—

PYSEC-2020-24

Quick fix

PYSEC-2020-24 — asyncpg: upgrade to the fixed version with the command below.

pip install --upgrade 'asyncpg>=0.21.0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/asyncpg
Introduced in: 0Fixed in: 0.21.0
Fixpip install --upgrade 'asyncpg>=0.21.0'

References