{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-17446","id":"CVE-2020-17446","title":"Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer","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.","descriptionLong":"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.","published":"2020-08-12T15:56:23.000Z","updated":"2026-10-20T10:52:02.057636410Z","reserved":"2020-08-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"asyncpg","purl":"pkg:pypi/asyncpg","ranges":["<0.21.0"],"fixed":["0.21.0"],"advisory":"GHSA-2xpj-f5g2-8p7m"}],"cwes":["CWE-824"],"aliases":["GHSA-2xpj-f5g2-8p7m","PYSEC-2020-24"],"references":[{"url":"https://github.com/MagicStack/asyncpg/releases/tag/v0.21.0","tags":["x_refsource_CONFIRM","x_transferred","Patch","Release Notes","Third Party Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00002.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-17446","tags":["advisory"]},{"url":"https://github.com/MagicStack/asyncpg/commit/69bcdf5bf7696b98ee708be5408fd7d854e910d0","tags":["web"]},{"url":"https://github.com/MagicStack/asyncpg","tags":["package"]},{"url":"https://github.com/advisories/GHSA-2xpj-f5g2-8p7m","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/asyncpg/PYSEC-2020-24.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02417,"epssPercentile":0.84505,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-17446","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-17446","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-17446","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2xpj-f5g2-8p7m","ok":true,"note":"GHSA-2xpj-f5g2-8p7m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-17446","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}