Advisory

DEBIAN-CVE-2022-21724

Also known as: CVE-2022-21724

Summary

The record has no summary.

Details

pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via authenticationPluginClassName, sslhostnameverifier, socketFactory, sslfactory, sslpasswordcallback connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugins are advised to upgrade. There are no known workarounds for this issue.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-02-02 12:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

libpgjava

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 42.3.2-1 (ecosystem)

Fixed versions

42.3.2-1

Fix

  • Fixed version 42.3.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libpgjava

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 42.3.2-1 (ecosystem)

Fixed versions

42.3.2-1

Fix

  • Fixed version 42.3.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libpgjava

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 42.3.2-1 (ecosystem)

Fixed versions

42.3.2-1

Fix

  • Fixed version 42.3.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences