Skip to content
Noroxi
CVE-2018-10936· NVD / CVE Program· CNA redhat

A weakness was found in postgresql-jdbc before version 42.2.5.

A weakness was found in postgresql-jdbc before version 42.2.5. It was possible to provide an SSL Factory and not check the host name if a host name verifier was not provided to the driver. This could lead to a condition where a man-in-the-middle attacker could masquerade as a trusted server by providing a certificate for the wrong host, as long as it was signed by a trusted CA.

HighCVSS 8.1 · v3.0—Proof of concept Fix available
Published
Aug 30, 2018
Updated
Jun 16, 2026
EPSS
2.9% · 86th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.9%

CNA vs NVD score

NVD
8.1
CNA · redhat
8.1
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
postgresqlpostgresql jdbc driver
redhatenterprise linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • postgresql postgresql jdbc driverbefore 42.2.5
  • redhat enterprise linux6.0
  • redhat enterprise linux7.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • [UNKNOWN] PostgreSQL

    • 42.2.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libpgjavabefore 42.2.5-142.2.5-1
Mavenorg.postgresql:pgjdbc-aggregatebefore 42.2.542.2.5
SUSE:Manager Server Module 4.0bind-formulabefore 0.1.1603299886.60e4bcf-3.11.10.1.1603299886.60e4bcf-3.11.1
SUSE:Manager Server Module 4.0grafana-formulabefore 0.2.2-4.13.10.2.2-4.13.1
SUSE:Manager Server Module 4.0postgresql-jdbcbefore 42.2.10-3.3.142.2.10-3.3.1
SUSE:Manager Server Module 4.0prometheus-exporters-formulabefore 0.7.5-3.16.10.7.5-3.16.1
SUSE:Manager Server Module 4.0prometheus-formulabefore 0.2.3-4.16.10.2.3-4.16.1
SUSE:Manager Server Module 4.0salt-netapi-clientbefore 0.18.0-4.12.10.18.0-4.12.1
SUSE:Manager Server Module 4.0spacewalk-adminbefore 4.0.12-3.15.14.0.12-3.15.1
SUSE:Manager Server Module 4.0spacewalk-backendbefore 4.0.35-3.38.14.0.35-3.38.1
SUSE:Manager Server Module 4.0spacewalk-javabefore 4.0.40-3.48.24.0.40-3.48.2
SUSE:Manager Server Module 4.0spacewalk-webbefore 4.0.25-3.36.14.0.25-3.36.1
SUSE:Manager Server Module 4.0susemanagerbefore 4.0.32-3.46.14.0.32-3.46.1
SUSE:Manager Server Module 4.0susemanager-schemabefore 4.0.23-3.32.14.0.23-3.32.1
SUSE:Manager Server Module 4.0susemanager-slsbefore 4.0.31-3.37.14.0.31-3.37.1

Other highest-scoring records for the same primary product.

  • CVE-2024-1597pgjdbc SQL Injection via line comment generation
    40Plan
  • CVE-2022-26520In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary
    40Plan
  • CVE-2022-21724Unchecked Class Instantiation when providing Plugin Classes
    40Plan
  • CVE-2022-31197SQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbc
    33Monitor
  • CVE-2026-54291Silent channel-binding authentication downgrade via unsupported certificate algorithms
    32Monitor
  • CVE-2026-42198pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libpgjava42.2.5-1 · Debian:12Package registry (OSV)
Maven:org.postgresql:pgjdbc-aggregate42.2.5Package registry (OSV)
suse:bind-formula0.1.1603299886.60e4bcf-3.11.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:grafana-formula0.2.2-4.13.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:postgresql-jdbc42.2.10-3.3.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:prometheus-exporters-formula0.7.5-3.16.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:prometheus-formula0.2.3-4.16.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:salt-netapi-client0.18.0-4.12.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:spacewalk-admin4.0.12-3.15.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:spacewalk-backend4.0.35-3.38.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:spacewalk-java4.0.40-3.48.2 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:spacewalk-web4.0.25-3.36.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:susemanager4.0.32-3.46.1 · SUSE:Manager Server Module 4.0Package registry (OSV)
suse:susemanager-schema4.0.23-3.32.1 · SUSE:Manager Server Module 4.0Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02018-11-19

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+81 d
  3. TodaySep 30, 2026+2953 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records