Skip to content
Heist/ feed
Back to feed
HighFix available

libpgjava — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-10936

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.

Products
libpgjava
Affected versions
Not specified
Fixed versions
42.2.5-1
CVEs
CVE-2018-10936
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:27 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-10936

core-osv · Original source

Published 30 Aug 2018, 13:29 UTC

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.

osv:DEBIAN-CVE-2018-10936

libpgjava

Fixed versions: 42.2.5-1

libpgjava

Fixed versions: 42.2.5-1

libpgjava

Fixed versions: 42.2.5-1

Complete source record
{
  "id": "5d5b95951508f78038d71bfea0b20a6be1de6b33ff5cbe0f0a0eddff89eae31b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-10936",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-10936",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2018-10936",
    "products": [
      {
        "name": {
          "value": "libpgjava",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "42.2.5-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpgjava",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "42.2.5-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpgjava",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "42.2.5-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-10936",
      "aliases": [
        "DEBIAN-CVE-2018-10936"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "42.2.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libpgjava",
            "purl": "pkg:deb/debian/libpgjava?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10936.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "42.2.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libpgjava",
            "purl": "pkg:deb/debian/libpgjava?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10936.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "42.2.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libpgjava",
            "purl": "pkg:deb/debian/libpgjava?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-10936.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:18.735047980Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-10936"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-10936"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-10936",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421110,
  "published_at": "2018-08-30T13:29:00.377+00:00"
}