UBUNTU-CVE-2020-17446: Critical severity ubuntu/asyncpg vulnerability

Published Aug 12, 2020
·
Updated

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 Software

2 affected componentsFixes available
ubuntu/asyncpg<0.13.0-1ubuntu3+esm1
0.13.0-1ubuntu3+esm1
ubuntu/asyncpg<0.20.0-1ubuntu0.1~esm1
0.20.0-1ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/asyncpg to a version that resolves this vulnerability.

    Fixed in 0.13.0-1ubuntu3+esm1
  2. Upgrade

    Upgrade ubuntu/asyncpg to a version that resolves this vulnerability.

    Fixed in 0.20.0-1ubuntu0.1~esm1

Event History

Aug 12, 2020
CVE Published
via OSV·04:15 PM
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Database clients using asyncpg versions before 0.21.0 are exposed when they connect to a malicious PostgreSQL server. The impact occurs on the client, not only on the server.

2

What does an attacker need to exploit it?

An attacker needs to control, or cause the client to connect to, a PostgreSQL server that can send a crafted response. No client-side privileges or user interaction are required according to the supplied vector.

3

What is the potential impact?

A crafted PostgreSQL server response can crash the database client or result in arbitrary code execution on that client.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203