OS Command Injection Affecting postgresql-9.4 package, versions *


0.0
high

Snyk CVSS

    Attack Complexity Low
    Privileges Required High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 97.49% (100th percentile)
Expand this section
NVD
7.2 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN8-POSTGRESQL94-342090
  • published 1 Apr 2019
  • disclosed 1 Apr 2019

How to fix?

There is no fixed version for Debian:8 postgresql-9.4.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-9.4 package and not the postgresql-9.4 package as distributed by Debian. See How to fix? for Debian:8 relevant fixed versions and status.

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to execute arbitrary code in the context of the database's operating system user. This functionality is enabled by default and can be abused to run arbitrary operating system commands on Windows, Linux, and macOS. NOTE: Third parties claim/state this is not an issue because PostgreSQL functionality for ‘COPY TO/FROM PROGRAM’ is acting as intended. References state that in PostgreSQL, a superuser can execute commands as the server user without using the ‘COPY FROM PROGRAM’.