GHSA-2xpj-f5g2-8p7m

Suggest an improvement
Source
https://github.com/advisories/GHSA-2xpj-f5g2-8p7m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-2xpj-f5g2-8p7m/GHSA-2xpj-f5g2-8p7m.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-2xpj-f5g2-8p7m
Aliases
Published
2021-04-20T16:30:51Z
Modified
2024-09-12T21:22:13.714934Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2020-08-12T16:15:00Z",
    "cwe_ids": [
        "CWE-824"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-14T21:35:20Z"
}
References

Affected packages

PyPI / asyncpg

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.21.0

Affected versions

0.*

0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.6.1
0.6.2
0.6.3
0.7.0
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.9.0.dev1
0.9.0
0.10.0
0.10.1
0.11.0
0.12.0
0.13.0
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.18.1
0.18.2
0.18.3
0.19.0
0.20.0
0.20.1