Incorrect Authorization Affecting postgresql15 package, versions <10.5-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.14% (51st percentile)

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-ALPINE317-POSTGRESQL15-3141292
  • published 9 Aug 2018
  • disclosed 9 Aug 2018

How to fix?

Upgrade Alpine:3.17 postgresql15 to version 10.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15 package and not the postgresql15 package as distributed by Alpine. See How to fix? for Alpine:3.17 relevant fixed versions and status.

It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with "CREATE TABLE" privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain "INSERT" and limited "UPDATE" privileges to a particular table, they could exploit this to update other columns in the same table.

CVSS Scores

version 3.1
Expand this section

NVD

Recommended
8.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None