BreachSpiderVerified, not vibes

CVE-2021-20229 in Fedoraproject Fedora and 3 more products

Medium 4.3 Fix available

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.

Affects 4 products from 3 vendors. Facts below cite their sources.

CVSS 3.14.3
EPSS1.5%
EPSS percentile74th
FixAvailable

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 33
Postgresql Postgresql ≥ 13.0, < 13.2
Redhat Enterprise Linux 7.0 8.0
Redhat Software Collections No version listed by the source

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-20229
BreachSpider IDBS-2021-GLOBAL-240151-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2021-02-23
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

A vulnerability in PostgreSQL versions before 13.2 allows users with SELECT privilege on one column to craft a query that retrieves all columns of the table, posing a risk to data confidentiality.

An attacker with SELECT privilege on a single column can exploit this vulnerability by constructing a specially crafted SQL query that bypasses the intended column-level access restrictions, thereby accessing all columns in the table.

Questions

What is CVE-2021-20229?

A vulnerability in PostgreSQL versions before 13.2 allows users with SELECT privilege on one column to craft a query that retrieves all columns of the table, posing a risk to data confidentiality.

What is the CVSS score for CVE-2021-20229?

CVE-2021-20229 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 1.5%.

Is CVE-2021-20229 actively exploited?

No confirmed active exploitation of CVE-2021-20229 as of 2026-05-30.

How do I remediate CVE-2021-20229?

Priority: MEDIUM. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1925296

What systems are affected by CVE-2021-20229?

CVE-2021-20229 affects Fedoraproject Fedora; Postgresql Postgresql; Redhat Enterprise Linux, Software Collections.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.