Advisory

DEBIAN-CVE-2023-39417

Also known as: CVE-2023-39417

Summary

The record has no summary.

Details

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.

Severity

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

Dates

Published
2023-08-11 13:15 UTC
Modified
2026-11-07 09:47 UTC

Affected packages and fixes

pgextwlist

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.15-2+deb12u1 (ecosystem)

Fixed versions

1.15-2+deb12u1

Fix

  • Fixed version 1.15-2+deb12u1
    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.

pgextwlist

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.19-1+deb13u1 (ecosystem)

Fixed versions

1.19-1+deb13u1

Fix

  • Fixed version 1.19-1+deb13u1
    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.

pgextwlist

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.20-1 (ecosystem)

Fixed versions

1.20-1

Fix

  • Fixed version 1.20-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.

postgresql-15

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 15.5-0+deb12u1 (ecosystem)

Fixed versions

15.5-0+deb12u1

Fix

  • Fixed version 15.5-0+deb12u1
    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