Multiple vulnerabilities in PostgreSQL



Published: 2021-05-13
Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-32027
CVE-2021-32028
CVE-2021-32029
CWE-ID CWE-190
CWE-401
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
PostgreSQL
Server applications / Database software

Vendor PostgreSQL Global Development Group

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Integer overflow

EUVDB-ID: #VU53231

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-32027

CWE-ID: CWE-190 - Integer Overflow or Wraparound

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing certain SQL array values during array subscribing calculation. An authenticated database user can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system and can be exploited by a remote unauthenticated attacker via SQL injection vulnerability in the frontend application.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 9.6.0 - 9.6.21, 10.0 - 10.16, 11.0 - 11.11, 12 - 12.6, 13.0 - 13.2


CPE2.3 External links

http://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

2) Memory leak

EUVDB-ID: #VU53232

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-32028

CWE-ID: CWE-401 - Improper Release of Memory Before Removing Last Reference ('Memory Leak')

Exploit availability: No

Description

The vulnerability allows a remote user to gain access to sensitive information.

The vulnerability exists due memory leak within the INSERT ... ON CONFLICT ... DO UPDATE command implementation. A remote authenticated database user can execute the affected command to read arbitrary bytes of server memory. In the default configuration, any authenticated database user can create prerequisite objects and complete this attack at will.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 9.6.0 - 9.6.21, 10.0 - 10.16, 11.0 - 11.11, 12 - 12.6, 13.0 - 13.2


CPE2.3 External links

http://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?

3) Memory leak

EUVDB-ID: #VU53233

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-32029

CWE-ID: CWE-401 - Improper Release of Memory Before Removing Last Reference ('Memory Leak')

Exploit availability: No

Description

The vulnerability allows a remote user to gain access to sensitive information.

The vulnerability exists due memory leak when processing UPDATE ... RETURNING command on a purpose-crafted partitioned table. A remote authenticated user can run the affected command and read arbitrary bytes of server memory. In the default configuration, any authenticated database user can create prerequisite objects and complete this attack at will.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 11.0 - 11.11, 12 - 12.6, 13.0 - 13.2


CPE2.3 External links

http://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###