CVE-2020-17446 Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer
CriticalCVSS 9.8
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/asyncpg(Debian 12) | < 0.21.0-1 | 0.21.0-1 | Fixed |
| debian/asyncpg(Debian 13) | < 0.21.0-1 | 0.21.0-1 | Fixed |
| debian/asyncpg(Debian 14) | < 0.21.0-1 | 0.21.0-1 | Fixed |
| magic asyncpg | < 0.21.0 | 0.21.0 | Fixed |
| pypi asyncpg(PyPI) | < 0.21.0; = 0.5.0; = 0.5.1; = 0.5.2 +29 more | 0.21.0 | Fixed |
| ubuntu/asyncpg(Ubuntu Pro 18.04) | < 0.13.0-1ubuntu3+esm1; = 0.12.0-1ubuntu3; = 0.13.0-1ubuntu3 | 0.13.0-1ubuntu3+esm1 | Fixed |
| ubuntu/asyncpg(Ubuntu Pro 20.04) | < 0.20.0-1ubuntu0.1~esm1; = 0.13.0-1ubuntu5; = 0.20.0-1; = 0.20.0-1build1 | 0.20.0-1ubuntu0.1~esm1 | Fixed |
| debian linux | = 9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi asyncpg(PyPI) | < 0.21.0 | 0.21.0 |
| pypi asyncpg(PyPI) | = 0.10.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.10.1 | No fix listed |
| pypi asyncpg(PyPI) | = 0.11.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.12.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.13.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.14.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.15.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.16.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.17.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.18.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.18.1 | No fix listed |
| pypi asyncpg(PyPI) | = 0.18.2 | No fix listed |
| pypi asyncpg(PyPI) | = 0.18.3 | No fix listed |
| pypi asyncpg(PyPI) | = 0.19.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.20.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.20.1 | No fix listed |
| pypi asyncpg(PyPI) | = 0.5.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.5.1 | No fix listed |
| pypi asyncpg(PyPI) | = 0.5.2 | No fix listed |
| pypi asyncpg(PyPI) | = 0.5.3 | No fix listed |
| pypi asyncpg(PyPI) | = 0.5.4 | No fix listed |
| pypi asyncpg(PyPI) | = 0.6.1 | No fix listed |
| pypi asyncpg(PyPI) | = 0.6.2 | No fix listed |
| pypi asyncpg(PyPI) | = 0.6.3 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi asyncpg(PyPI) | = 0.7.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.8.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.8.1 | No fix listed |
| pypi asyncpg(PyPI) | = 0.8.2 | No fix listed |
| pypi asyncpg(PyPI) | = 0.8.3 | No fix listed |
| pypi asyncpg(PyPI) | = 0.8.4 | No fix listed |
| pypi asyncpg(PyPI) | = 0.9.0 | No fix listed |
| pypi asyncpg(PyPI) | = 0.9.0.dev1 | No fix listed |
| debian/asyncpg(Debian:12) | < 0.21.0-1 | 0.21.0-1 |
| debian/asyncpg(Debian:13) | < 0.21.0-1 | 0.21.0-1 |
| debian/asyncpg(Debian:14) | < 0.21.0-1 | 0.21.0-1 |
| magic asyncpg | < 0.21.0 | 0.21.0 |
| debian linux | = 9.0 | No fix listed |
| ubuntu/asyncpg(Ubuntu:Pro:18.04) | < 0.13.0-1ubuntu3+esm1 | 0.13.0-1ubuntu3+esm1 |
| ubuntu/asyncpg(Ubuntu:Pro:18.04) | = 0.12.0-1ubuntu3 | No fix listed |
| ubuntu/asyncpg(Ubuntu:Pro:18.04) | = 0.13.0-1ubuntu3 | No fix listed |
| ubuntu/asyncpg(Ubuntu:Pro:20.04) | < 0.20.0-1ubuntu0.1~esm1 | 0.20.0-1ubuntu0.1~esm1 |
| ubuntu/asyncpg(Ubuntu:Pro:20.04) | = 0.13.0-1ubuntu5 | No fix listed |
| ubuntu/asyncpg(Ubuntu:Pro:20.04) | = 0.20.0-1 | No fix listed |
| ubuntu/asyncpg(Ubuntu:Pro:20.04) | = 0.20.0-1build1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com issue-tracking patch release-notes third-party-advisory
- github.com vendor-advisory
- github.com
- [debian-lts-announce] 20200902 [SECURITY] [DLA 2363-1] asyncpg security update mailing-list third-party-advisory
- Debian Security Tracker CVE-2020-17446 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory