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.
Published 2020-11-23 22:15:12
Updated 2020-12-15 19:37:13
Source Red Hat, Inc.
View at NVD,   CVE.org
Vulnerability category: Execute code

Products affected by CVE-2020-25696

Threat overview for CVE-2020-25696

Top countries where our scanners detected CVE-2020-25696
Top open port discovered on systems with this issue 5432
IPs affected by CVE-2020-25696 216,081
Threat actors abusing to this issue? Yes
Find out if you* are affected by CVE-2020-25696!
*Directly or indirectly through your vendors, service providers and 3rd parties. Powered by attack surface intelligence from SecurityScorecard.

Exploit prediction scoring system (EPSS) score for CVE-2020-25696

0.28%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2020-25696

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
7.6
HIGH AV:N/AC:H/Au:N/C:C/I:C/A:C
4.9
10.0
NIST
7.5
HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
1.6
5.9
NIST

CWE ids for CVE-2020-25696

  • The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses.
    Assigned by: secalert@redhat.com (Primary)
  • The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.
    Assigned by: secalert@redhat.com (Primary)
  • The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
    Assigned by: nvd@nist.gov (Secondary)

References for CVE-2020-25696

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!