Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Adélie Package Tree Adélie Package Tree
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 354
    • Issues 354
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie Linux
  • Adélie Package TreeAdélie Package Tree
  • Issues
  • #106

Closed
Open
Created Jul 24, 2019 by Emily@emily🤖

user/postgresql: CVE-2019-9193: "COPY ... PROGRAM" function code execution

Bugzilla ID 106
Alias(es) CVE-2019-9193
Reporter Max Rees (sroracle)
Assignee Max Rees (sroracle)
Reported 2019-07-24 02:37:29 -0500
Modified 2019-07-24 13:04:21 -0500
Status RESOLVED NOTABUG
Version 1.0-BETA3
Hardware Adélie Linux / All
Importance --- / normal
URL https://nvd.nist.gov/vuln/detail/CVE-2019-9193

Description

According to upstream [1]:

The PostgreSQL Security Team would like to emphasize that this is not
a security vulnerability.

The COPY .. PROGRAM feature explicitly states that it can only be
executed by database users that have been granted superuser privileges
or the default role pg_execute_server_program. By design, this feature
allows one who is granted superuser or pg_execute_server_program to
perform actions as the operating system user the PostgreSQL server
runs under (normally "postgres"). The default roles
pg_read_server_files and pg_write_server_files that are mentioned in
the CVE do not grant permission for a database user to use COPY ..
PROGRAM.

[1] https://www.postgresql.org/about/news/1935/

Edited Feb 02, 2022 by Zach van Rijn
Assignee
Assign to
Time tracking