CVE-2020-17446

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…

published August 12, 2020

CVSS
—
EPSS
2%
Percentile
84.0
In the wild
Unconfirmed
What it is

⚠️ A crafty PostgreSQL server could send a sneaky response and crash your asyncpg client before you know it! Think of it like a restaurant where the chef serves up a spicy surprise dish without checking if the customer has allergies. One unexpected ingredient can lead to a disaster! If a malicious server pulls this trick, it could cause your client to crash or even execute arbitrary code! This means potential data exposure or corruption, which is absolutely devastating for your applications.

Put simply

Think of it like a restaurant where the chef serves up a spicy surprise dish without checking if the customer has allergies. One unexpected ingredient can lead to a disaster! This vulnerability occurs in asyncpg versions before 0.21.0, allowing an attacker to exploit an uninitialized pointer in the array data decoder through a crafted server response, leading to crashes or code execution on the client side.

What to do

If a malicious server pulls this trick, it could cause your client to crash or even execute arbitrary code! This means potential data exposure or corruption, which is absolutely devastating for your applications. To protect yourself, update asyncpg to version 0.21.0 or later immediately. Conduct thorough testing to ensure no adverse effects arise from the update. Stay vigilant in monitoring server responses for any unusual behavior. You've got this! With the right steps, you'll keep your systems safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02417 · 84.0th percentile
Published
2020-08-12T15:56Z
EPSS history
Timeline
  • 12 AUG 15:56Z
    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…
    cvelistv5