VDB

ALPINE-CVE-2021-20229

ALPINE-CVE-2021-20229 PUBLISHED CVSS 4.300000190734863 MEDIUM

Record from OSV · Published February 23, 2021

A flaw was found in PostgreSQL in versions before 13.2. This flaw allows a user with SELECT privilege on one column to craft a special query that returns all columns of the table. The highest threat from this vulnerability is to confidentiality.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresqlAlpine:v3.1413.2-r0
postgresql15Alpine:v3.1813.2-r0
postgresql13Alpine:v3.1513.2-r0
postgresql14Alpine:v3.1713.2-r0
postgresql15Alpine:v3.1913.2-r0
postgresql13Alpine:v3.1613.2-r0
postgresqlAlpine:v3.1313.2-r0
postgresql14Alpine:v3.1613.2-r0
postgresql15Alpine:v3.2013.2-r0
postgresql15Alpine:v3.1713.2-r0
postgresql14Alpine:v3.1513.2-r0
postgresql14Alpine:v3.1813.2-r0

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
4.300000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
Alpine:v3.14postgresql0, 10.3-r0, 10.3-r1
Alpine:v3.18postgresql150
Alpine:v3.15postgresql130
Alpine:v3.17postgresql1411.3-r1, 10.0-r1, 10.0-r0
Alpine:v3.19postgresql150
Alpine:v3.16postgresql130
Alpine:v3.13postgresql10.2-r0, 9.3.1-r0, 9.6.4-r0
Alpine:v3.16postgresql149.3.3-r2, 0, 10.0-r1
Alpine:v3.20postgresql150
Alpine:v3.17postgresql150
Alpine:v3.15postgresql1410.4-r0, 10.5-r0, 11.0-r1
Alpine:v3.18postgresql1410.0-r0, 9.3.4-r1, 12.0-r0
Alpine:v3.12postgresql10.2-r0, 9.1.0-r0, 9.4.4-r0

Timeline

  • Feb 23, 2021 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2021-20229
vulnetix vdb fixes ALPINE-CVE-2021-20229

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/ALPINE-CVE-2021-20229/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›