CVE-2013-1903
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPostgreSQL, possibly 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, 8.4.x before 8.4.17, and 8.3.x before 8.3.23 incorrectly provides the superuser password to scripts related to "graphical installers for Linux and Mac OS X," which has unspecified impact and attack vectors.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidencePostgreSQL versions 8.3.x through 9.2.x contain a flaw in graphical installers for Linux and Mac OS X where the superuser password is incorrectly passed to installer scripts, potentially exposing credentials.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 9.2= 9.2.1= 9.2.2= 9.2.3= 9.1= 9.1.1= 9.1.2= 9.1.3= 9.1.4= 9.1.5= 9.1.6= 9.1.7CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:L/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify PostgreSQL versionRun `psql --version` or check the version reported by `pg_config --version`Affected if Version is 9.2.0 through 9.2.3, 9.1.0 through 9.1.7, or 8.3.x through 9.0.x (before 9.0.13) or 8.4.x (before 8.4.17)
-
Determine installation methodReview how PostgreSQL was initially installed: check if a graphical installer (EnterpriseDB, BigSQL, or distribution-specific GUI installer) was used on Linux or Mac OS XAffected if Installation was performed using a graphical installer for Linux or Mac OS X and the version falls within the affected range
-
Check for installer log filesLook for installer log files in /tmp, the home directory, or /var/log (such as installwizard.log, installer logs, or postgresql-installer.log) that may contain the superuser passwordAffected if Installer log files exist and contain plaintext or exposed superuser credentials
A user is affected if PostgreSQL was installed via a graphical installer on Linux or Mac OS X and the installed version falls within 8.3.x through 9.2.3 (specifically 9.2.0-9.2.3, 9.1.0-9.1.7, or earlier unpatched versions), with potential credential exposure in installer logs or scripts.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade PostgreSQL to version 9.2.4, 9.1.9, 9.0.13, 8.4.17, or 8.3.23 or later. Alternatively, avoid using graphical installers and perform manual installation/configuration.
PostgreSQL 9.2.4 or later (also applicable: 9.1.9, 9.0.13, 8.4.17, 8.3.23 for respective branches)
- 1. Back up all PostgreSQL databases and configuration files
- 2. Download PostgreSQL 9.2.4 or later from the official PostgreSQL website (www.postgresql.org)
- 3. Stop the PostgreSQL service using: pg_ctl stop or systemctl stop postgresql
- 4. If using an OS package manager, update to the fixed version (e.g., yum update postgresql or apt-get install postgresql-9.2)
- 5. Verify the new version by running: psql --version
- 6. Start the PostgreSQL service: pg_ctl start or systemctl start postgresql
- 7. Test database connectivity and applications to ensure functionality
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2013-1903 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2013-1903 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data