BreachSpiderVerified, not vibes

CVE-2021-3393 in Postgresql and 2 more products

Medium 4.3

An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use...

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

CVSS 3.14.3
EPSS1.2%
EPSS percentile68th
FixSee advisory

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
Postgresql Postgresql < 11.11 ≥ 12.0, < 12.6 ≥ 13.0, < 13.2
Redhat Enterprise Linux 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

An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-3393
BreachSpider IDBS-2021-GLOBAL-080215-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2021-04-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-209: CWE-209

Related attack patterns (CAPEC)

CAPEC-7 Blind SQL Injection via CWE-209

CAPEC-215 Fuzzing for application mapping via CWE-209

CAPEC-463 Padding Oracle Crypto Attack via CWE-209

CAPEC-54 Query System for Information via CWE-209

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in PostgreSQL versions prior to 13.2, 12.6, and 11.11 allows users with UPDATE but not SELECT permissions on a specific column to potentially leak data from that column through error messages.

An attacker with UPDATE permissions on a column but lacking SELECT permissions can craft specific queries that may inadvertently expose data from the column in error messages returned by the database.

Questions

What is CVE-2021-3393?

A vulnerability in PostgreSQL versions prior to 13.2, 12.6, and 11.11 allows users with UPDATE but not SELECT permissions on a specific column to potentially leak data from that column through error messages.

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

CVE-2021-3393 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.2%.

Is CVE-2021-3393 actively exploited?

No confirmed active exploitation of CVE-2021-3393 as of 2026-09-25.

How do I remediate CVE-2021-3393?

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

What systems are affected by CVE-2021-3393?

CVE-2021-3393 affects 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":"Postgresql","product":"Postgresql","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 2026-06-17.