CVE-2020-25696

Source
https://cve.org/CVERecord?id=CVE-2020-25696
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25696.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-25696
Aliases
Downstream
Related
Published
2020-11-23T22:15:12.257Z
Modified
2026-03-10T23:09:47.541152Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "9.5.0"
            },
            {
                "fixed": "9.5.24"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "9.6.0"
            },
            {
                "fixed": "9.6.20"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "10.0"
            },
            {
                "fixed": "10.15"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "11.0"
            },
            {
                "fixed": "11.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "12.0"
            },
            {
                "fixed": "12.5"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "13.0"
            },
            {
                "fixed": "13.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25696.json"