GHSA-wc9v-mj63-m9g5
- Gravità
- Critica
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA KEV
- Non presente nel catalogo KEV in cache
- EPSS
- Nessun punteggio EPSS in cache
Versioni interessate e corrette
- Introdotta in 0 · corretta in 2.11.2
- Introdotta in 3.0.0 · corretta in 3.6.4
- Introdotta in 4.0.0 · corretta in 4.5.7
- Introdotta in 5.0.0 · corretta in 5.2.1
- Introdotta in 6.0.0 · corretta in 6.0.5
- Introdotta in 6.1.0 · corretta in 6.1.6
- Introdotta in 6.2.0 · corretta in 6.2.5
- Introdotta in 6.3.0 · corretta in 6.3.3
L'ultima versione pubblicata non è in un intervallo interessato, oppure OSV non indica correzioni.
Il testo semplificato appare solo se già in cache. Questa pagina non lo genera.
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
Avviso su OSV.dev · pubblicato il 2018-07-24 · modificato il 2023-11-08