Advisory

GHSA-2xpj-f5g2-8p7m

Also known as: CVE-2020-17446, PYSEC-2020-24

Summary

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-04-20 16:30 UTC
Modified
2024-09-12 21:21 UTC

Affected packages and fixes

asyncpg

PyPI · All systems

Affected

  • introduced 0, fixed 0.21.0 (ecosystem)

Fixed versions

0.21.0

Fix

  • Fixed version 0.21.0
    pip install --upgrade asyncpg==0.21.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences