CVE-2019-10208
Reported by redhat · Published October 29, 2019
A flaw was discovered in postgresql versions 9.4.x before 9.4.24, 9.5.x before 9.5.19, 9.6.x before 9.6.15, 10.x before 10.10 and 11.x before 11.5 where arbitrary SQL statements can be executed given a suitable SECURITY DEFINER function. An attacker, with EXECUTE permission on the function, can execute arbitrary SQL as the owner of the function.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql15 | Alpine | 11.5-r0 |
| postgresql-libs | Amazon Linux | 9.2.24-6.amzn2 |
| postgresql14 | Alpine | 11.5-r0 |
| postgresql-devel | Amazon Linux | 9.2.24-6.amzn2 |
| postgresql | Alpine | 11.5-r0, 10.10-r0 |
| postgresql-plperl | Amazon Linux | 9.2.24-6.amzn2 |
| postgresql-plpython | Amazon Linux | 9.2.24-6.amzn2 |
| postgresql-test | Amazon Linux | 9.2.24-6.amzn2 |
| postgresql-server | Amazon Linux | 9.2.24-6.amzn2 |
| postgresql-libs | Arch Linux | 11.5-1 |
| postgresql-9.5 | Ubuntu:16.04:LTS | 9.5.19-0ubuntu0.16.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | postgresql | all 11.x before 11.5, all 10.x before 10.10, all 9.6.x before 9.6.15 |
| alpine | postgresql15 | 0 |
| amazon:2 | postgresql-libs | 0 |
| alpine | postgresql14 | 0 |
| amazon:2 | postgresql-devel | 0 |
| alpine | postgresql | 0, 0 |
| amazon:2 | postgresql-plperl | 0 |
| amazon:2 | postgresql-plpython | 0 |
| amazon:2 | postgresql-test | 0 |
| amazon:2 | postgresql-server | 0 |
| arch | postgresql-libs | 0 |
| amazon:2 | postgresql-contrib | 0 |
| PostgreSQL | postgresql | 10.10, 9.6.x, 9.5.x |
| amazon:2 | postgresql-docs | 0 |
| amazon:2 | postgresql-upgrade | 0 |
| amazon:2 | postgresql-pltcl | 0 |
| amazon:2 | postgresql-static | 0 |
| arch | postgresql | 0 |
| amazon:2 | postgresql | 0 |
Timeline
- Aug 8, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jan 29, 2024 PoC Published
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (11 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 17, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-10208
vulnetix vdb fixes CVE-2019-10208
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-10208/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- openSUSE-SU-2020:1227 vendor-advisoryx_refsource_SUSE