Stack-based buffer overflow in PostgreSQL



| Updated: 2020-07-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2015-5289
CWE-ID CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
PostgreSQL
Server applications / Database software

Vendor PostgreSQL Global Development Group

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU32376

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2015-5289

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

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

The vulnerability exists due to a boundary error when processing unspecified vectors, which are not properly handled in (1) json or (2) jsonb values. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update to version 9.3.10.

Vulnerable software versions

PostgreSQL: 9.3.0 - 9.3.9

CPE2.3 External links

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=08fa47c4850cea32c3116665975bca219fbf2fe6
https://lists.fedoraproject.org/pipermail/package-announce/2015-November/172316.html
https://lists.fedoraproject.org/pipermail/package-announce/2015-October/169094.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00016.html
https://lists.opensuse.org/opensuse-updates/2015-11/msg00033.html
https://www.debian.org/security/2015/dsa-3374
https://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
https://www.postgresql.org/about/news/1615/
https://www.postgresql.org/docs/9.3/static/release-9-3-10.html
https://www.postgresql.org/docs/9.4/static/release-9-4-5.html
https://www.securityfocus.com/bid/77048
https://www.securitytracker.com/id/1033775
https://www.ubuntu.com/usn/USN-2772-1
https://security.gentoo.org/glsa/201701-33


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###