CVE-2022-21724
Publiée le 2022-02-02 · Dernière modification le 2026-06-17
Les applications utilisant le pilote JDBC PostgreSQL sont concernées si elles permettent aux utilisateurs d'influencer l'URL de connexion ou ses propriétés. Un attaquant disposant d'un accès local de bas niveau peut déclencher l'instanciation de classes Java arbitraires pour exécuter du code malveillant sur le système hôte. Cet exploit est difficile à réaliser car il exige que l'attaquant possède déjà des identifiants ainsi que la possibilité de modifier des chaînes de configuration spécifiques.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Description officielle du NVD (en anglais)
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.