#VU32376 Stack-based buffer overflow in PostgreSQL - CVE-2015-5289


| Updated: 2020-07-28

Vulnerability identifier: #VU32376

Vulnerability 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

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PostgreSQL
Server applications / Database software

Vendor: PostgreSQL Global Development Group

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


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.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability