GHSA-wc9v-mj63-m9g5
- Sévérité
- Critique
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA KEV
- Absente du catalogue KEV en cache
- EPSS
- Aucun score EPSS en cache
Versions touchées et corrigées
- Introduite en 0 · corrigée en 2.11.2
- Introduite en 3.0.0 · corrigée en 3.6.4
- Introduite en 4.0.0 · corrigée en 4.5.7
- Introduite en 5.0.0 · corrigée en 5.2.1
- Introduite en 6.0.0 · corrigée en 6.0.5
- Introduite en 6.1.0 · corrigée en 6.1.6
- Introduite en 6.2.0 · corrigée en 6.2.5
- Introduite en 6.3.0 · corrigée en 6.3.3
La dernière version publiée n'est pas dans une plage touchée, ou OSV n'indique aucun correctif.
Le texte simplifié n'apparaît que s'il est déjà en cache. Cette page ne le génère pas.
Remote Code Execution in pg
Affected versions of `pg` contain a remote code execution vulnerability that occurs when the remote database or query specifies a crafted column name. There are two specific scenarios in which it is likely for an application to be vulnerable: 1. The application executes unsafe, user-supplied sql which contains malicious column names. 2. The application connects to an untrusted database and executes a query returning results which contain a malicious column name. ## Proof of Concept ``` const { Client } = require('pg') const client = new Client() client.connect() const sql = `SELECT 1 AS "\\'/*", 2 AS "\\'*/\n + console.log(process.env)] = null;\n//"` client.query(sql, (err, res) => {…
Alias : CVE-2017-16082
Alerte sur OSV.dev · publiée le 2018-07-24 · modifiée le 2023-11-08