ID CVE-2015-5289
Summary Multiple stack-based buffer overflows in json parsing in PostgreSQL before 9.3.x before 9.3.10 and 9.4.x before 9.4.5 allow attackers to cause a denial of service (server crash) via unspecified vectors, which are not properly handled in (1) json or (2) jsonb values.
References
Vulnerable Configurations
  • cpe:2.3:a:postgresql:postgresql:9.0.22
    cpe:2.3:a:postgresql:postgresql:9.0.22
  • PostgreSQL 9.1
    cpe:2.3:a:postgresql:postgresql:9.1
  • PostgreSQL 9.1.1
    cpe:2.3:a:postgresql:postgresql:9.1.1
  • PostgreSQL PostgreSQL 9.1.10
    cpe:2.3:a:postgresql:postgresql:9.1.10
  • PostgreSQL PostgreSQL 9.1.11
    cpe:2.3:a:postgresql:postgresql:9.1.11
  • PostgreSQL PostgreSQL 9.1.12
    cpe:2.3:a:postgresql:postgresql:9.1.12
  • cpe:2.3:a:postgresql:postgresql:9.1.13
    cpe:2.3:a:postgresql:postgresql:9.1.13
  • cpe:2.3:a:postgresql:postgresql:9.1.14
    cpe:2.3:a:postgresql:postgresql:9.1.14
  • cpe:2.3:a:postgresql:postgresql:9.1.15
    cpe:2.3:a:postgresql:postgresql:9.1.15
  • cpe:2.3:a:postgresql:postgresql:9.1.16
    cpe:2.3:a:postgresql:postgresql:9.1.16
  • cpe:2.3:a:postgresql:postgresql:9.1.17
    cpe:2.3:a:postgresql:postgresql:9.1.17
  • cpe:2.3:a:postgresql:postgresql:9.1.18
    cpe:2.3:a:postgresql:postgresql:9.1.18
  • PostgreSQL 9.1.2
    cpe:2.3:a:postgresql:postgresql:9.1.2
  • PostgreSQL 9.1.3
    cpe:2.3:a:postgresql:postgresql:9.1.3
  • PostgreSQL 9.1.4
    cpe:2.3:a:postgresql:postgresql:9.1.4
  • PostgreSQL 9.1.5
    cpe:2.3:a:postgresql:postgresql:9.1.5
  • PostgreSQL 9.1.6
    cpe:2.3:a:postgresql:postgresql:9.1.6
  • PostgreSQL 9.1.7
    cpe:2.3:a:postgresql:postgresql:9.1.7
  • PostgreSQL 9.1.8
    cpe:2.3:a:postgresql:postgresql:9.1.8
  • PostgreSQL PostgreSQL 9.1.9
    cpe:2.3:a:postgresql:postgresql:9.1.9
  • PostgreSQL 9.2
    cpe:2.3:a:postgresql:postgresql:9.2
  • PostgreSQL 9.2.1
    cpe:2.3:a:postgresql:postgresql:9.2.1
  • cpe:2.3:a:postgresql:postgresql:9.2.10
    cpe:2.3:a:postgresql:postgresql:9.2.10
  • cpe:2.3:a:postgresql:postgresql:9.2.11
    cpe:2.3:a:postgresql:postgresql:9.2.11
  • cpe:2.3:a:postgresql:postgresql:9.2.12
    cpe:2.3:a:postgresql:postgresql:9.2.12
  • cpe:2.3:a:postgresql:postgresql:9.2.13
    cpe:2.3:a:postgresql:postgresql:9.2.13
  • PostgreSQL 9.2.2
    cpe:2.3:a:postgresql:postgresql:9.2.2
  • PostgreSQL PostgreSQL 9.2.3
    cpe:2.3:a:postgresql:postgresql:9.2.3
  • PostgreSQL PostgreSQL 9.2.4
    cpe:2.3:a:postgresql:postgresql:9.2.4
  • PostgreSQL PostgreSQL 9.2.5
    cpe:2.3:a:postgresql:postgresql:9.2.5
  • PostgreSQL PostgreSQL 9.2.6
    cpe:2.3:a:postgresql:postgresql:9.2.6
  • PostgreSQL PostgreSQL 9.2.7
    cpe:2.3:a:postgresql:postgresql:9.2.7
  • cpe:2.3:a:postgresql:postgresql:9.2.8
    cpe:2.3:a:postgresql:postgresql:9.2.8
  • cpe:2.3:a:postgresql:postgresql:9.2.9
    cpe:2.3:a:postgresql:postgresql:9.2.9
  • PostgreSQL PostgreSQL 9.3
    cpe:2.3:a:postgresql:postgresql:9.3
  • PostgreSQL PostgreSQL 9.3.1
    cpe:2.3:a:postgresql:postgresql:9.3.1
  • PostgreSQL PostgreSQL 9.3.2
    cpe:2.3:a:postgresql:postgresql:9.3.2
  • PostgreSQL PostgreSQL 9.3.3
    cpe:2.3:a:postgresql:postgresql:9.3.3
  • cpe:2.3:a:postgresql:postgresql:9.3.4
    cpe:2.3:a:postgresql:postgresql:9.3.4
  • cpe:2.3:a:postgresql:postgresql:9.3.5
    cpe:2.3:a:postgresql:postgresql:9.3.5
  • cpe:2.3:a:postgresql:postgresql:9.3.6
    cpe:2.3:a:postgresql:postgresql:9.3.6
  • cpe:2.3:a:postgresql:postgresql:9.3.7
    cpe:2.3:a:postgresql:postgresql:9.3.7
  • cpe:2.3:a:postgresql:postgresql:9.3.8
    cpe:2.3:a:postgresql:postgresql:9.3.8
  • cpe:2.3:a:postgresql:postgresql:9.3.9
    cpe:2.3:a:postgresql:postgresql:9.3.9
  • cpe:2.3:a:postgresql:postgresql:9.4.0
    cpe:2.3:a:postgresql:postgresql:9.4.0
  • cpe:2.3:a:postgresql:postgresql:9.4.1
    cpe:2.3:a:postgresql:postgresql:9.4.1
  • cpe:2.3:a:postgresql:postgresql:9.4.2
    cpe:2.3:a:postgresql:postgresql:9.4.2
  • cpe:2.3:a:postgresql:postgresql:9.4.3
    cpe:2.3:a:postgresql:postgresql:9.4.3
  • cpe:2.3:a:postgresql:postgresql:9.4.4
    cpe:2.3:a:postgresql:postgresql:9.4.4
CVSS
Base: 6.4 (as of 27-10-2015 - 10:38)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE PARTIAL
nessus via4
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3374.NASL
    description Several vulnerabilities have been found in PostgreSQL-9.4, a SQL database system. - CVE-2015-5288 Josh Kupershmidt discovered a vulnerability in the crypt() function in the pgCrypto extension. Certain invalid salt arguments can cause the server to crash or to disclose a few bytes of server memory. - CVE-2015-5289 Oskari Saarenmaa discovered that json or jsonb input values constructed from arbitrary user input can crash the PostgreSQL server and cause a denial of service.
    last seen 2017-10-29
    modified 2016-02-21
    plugin id 86447
    published 2015-10-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86447
    title Debian DSA-3374-1 : postgresql-9.4 - security update
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2015-2078.NASL
    description From Red Hat Security Advisory 2015:2078 : Updated postgresql packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. PostgreSQL is an advanced object-relational database management system (DBMS). A memory leak error was discovered in the crypt() function of the pgCrypto extension. An authenticated attacker could possibly use this flaw to disclose a limited amount of the server memory. (CVE-2015-5288) A stack overflow flaw was discovered in the way the PostgreSQL core server processed certain JSON or JSONB input. An authenticated attacker could possibly use this flaw to crash the server backend by sending specially crafted JSON or JSONB input. (CVE-2015-5289) Please note that SSL renegotiation is now disabled by default. For more information, please refer to PostgreSQL's 2015-10-08 Security Update Release notes, linked to in the References section. All PostgreSQL users are advised to upgrade to these updated packages, which correct these issues. If the postgresql service is running, it will be automatically restarted after installing this update.
    last seen 2017-10-29
    modified 2016-04-28
    plugin id 86925
    published 2015-11-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86925
    title Oracle Linux 7 : postgresql (ELSA-2015-2078)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20151119_POSTGRESQL_ON_SL7_X.NASL
    description A memory leak error was discovered in the crypt() function of the pgCrypto extension. An authenticated attacker could possibly use this flaw to disclose a limited amount of the server memory. (CVE-2015-5288) A stack overflow flaw was discovered in the way the PostgreSQL core server processed certain JSON or JSONB input. An authenticated attacker could possibly use this flaw to crash the server backend by sending specially crafted JSON or JSONB input. (CVE-2015-5289) If the postgresql service is running, it will be automatically restarted after installing this update.
    last seen 2017-10-29
    modified 2016-02-21
    plugin id 86992
    published 2015-11-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86992
    title Scientific Linux Security Update : postgresql on SL7.x srpm/x86_64
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-6D2A957A87.NASL
    description update to 9.4.5 per release notes http://www.postgresql.org/docs/9.4/static/release-9-4-5.html Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-03-04
    plugin id 89268
    published 2016-03-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89268
    title Fedora 22 : postgresql-9.4.5-1.fc22 (2015-6d2a957a87)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-701.NASL
    description postgresql93 was updated to version 9.3.10 to fix two security issues. These security issues were fixed : - CVE-2015-5288: Unchecked JSON input can crash the server (bsc#949669). - CVE-2015-5289: Memory leak in crypt() function (bsc#949670). For the full release notes, please see: http://www.postgresql.org/docs/current/static/release-9-3-10.html
    last seen 2017-10-29
    modified 2016-02-21
    plugin id 86736
    published 2015-11-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86736
    title openSUSE Security Update : postgresql93 (openSUSE-2015-701)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_A01825786E0011E5A90C0026551A22DC.NASL
    description PostgreSQL project reports : Two security issues have been fixed in this release which affect users of specific PostgreSQL features. - CVE-2015-5289 json or jsonb input values constructed from arbitrary user input can crash the PostgreSQL server and cause a denial of service. - CVE-2015-5288: The crypt() function included with the optional pgCrypto extension could be exploited to read a few additional bytes of memory. No working exploit for this issue has been developed.
    last seen 2017-10-29
    modified 2016-02-21
    plugin id 86320
    published 2015-10-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86320
    title FreeBSD : PostgreSQL -- minor security problems. (a0182578-6e00-11e5-a90c-0026551a22dc)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2015-609.NASL
    description Multiple stack-based buffer overflows in json parsing in PostgreSQL before 9.3.x before 9.3.10 and 9.4.x before 9.4.5 allow attackers to cause a denial of service (server crash) via unspecified vectors, which are not properly handled in (1) json or (2) jsonb values. (CVE-2015-5289) The crypt function in contrib/pgcrypto in PostgreSQL before 9.0.23, 9.1.x before 9.1.19, 9.2.x before 9.2.14, 9.3.x before 9.3.10, and 9.4.x before 9.4.5 allows attackers to cause a denial of service (server crash) or read arbitrary server memory via a 'too-short' salt. (CVE-2015-5288)
    last seen 2018-04-19
    modified 2018-04-18
    plugin id 86771
    published 2015-11-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86771
    title Amazon Linux AMI : postgresql92 / postgresql93,postgresql94 (ALAS-2015-609)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2015-1821-1.NASL
    description The PostreSQL database postgresql93 was updated to the bugfix release 9.3.10 : Security issues fixed : - CVE-2015-5289, bsc#949670: json or jsonb input values constructed from arbitrary user input can crash the PostgreSQL server and cause a denial of service. - CVE-2015-5288, bsc#949669: The crypt() function included with the optional pgCrypto extension could be exploited to read a few additional bytes of memory. No working exploit for this issue has been developed. For the full release notes, see: http://www.postgresql.org/docs/current/static/release-9-3-10.html Other bugs fixed : - Move systemd related stuff and user creation to postgresql-init. - Remove some obsolete %suse_version conditionals. - Relax dependency on libpq to major version. - Fix possible failure to recover from an inconsistent database state. See full release notes for details. - Fix rare failure to invalidate relation cache init file. - Avoid deadlock between incoming sessions and CREATE/DROP DATABASE. - Improve planner's cost estimates for semi-joins and anti-joins with inner indexscans - For the full release notes for 9.3.9 see: http://www.postgresql.org/docs/9.3/static/release-9-3-9. html Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-05-02
    plugin id 86627
    published 2015-10-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86627
    title SUSE SLED12 / SLES12 Security Update : postgresql93 (SUSE-SU-2015:1821-1)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2772-1.NASL
    description Josh Kupershmidt discovered the pgCrypto extension could expose several bytes of server memory if the crypt() function was provided a too-short salt. An attacker could use this flaw to read private data. (CVE-2015-5288) Oskari Saarenmaa discovered that the json and jsonb handlers could exhaust available stack space. An attacker could use this flaw to perform a denial of service attack. This issue only affected Ubuntu 14.04 LTS and Ubuntu 15.04. (CVE-2015-5289). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-05-24
    plugin id 86416
    published 2015-10-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86416
    title Ubuntu 12.04 LTS / 14.04 LTS / 15.04 : postgresql-9.1, postgresql-9.3, postgresql-9.4 vulnerabilities (USN-2772-1)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2015-2078.NASL
    description Updated postgresql packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. PostgreSQL is an advanced object-relational database management system (DBMS). A memory leak error was discovered in the crypt() function of the pgCrypto extension. An authenticated attacker could possibly use this flaw to disclose a limited amount of the server memory. (CVE-2015-5288) A stack overflow flaw was discovered in the way the PostgreSQL core server processed certain JSON or JSONB input. An authenticated attacker could possibly use this flaw to crash the server backend by sending specially crafted JSON or JSONB input. (CVE-2015-5289) Please note that SSL renegotiation is now disabled by default. For more information, please refer to PostgreSQL's 2015-10-08 Security Update Release notes, linked to in the References section. All PostgreSQL users are advised to upgrade to these updated packages, which correct these issues. If the postgresql service is running, it will be automatically restarted after installing this update.
    last seen 2017-10-29
    modified 2017-01-06
    plugin id 86966
    published 2015-11-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86966
    title RHEL 7 : postgresql (RHSA-2015:2078)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2015-2078.NASL
    description Updated postgresql packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. PostgreSQL is an advanced object-relational database management system (DBMS). A memory leak error was discovered in the crypt() function of the pgCrypto extension. An authenticated attacker could possibly use this flaw to disclose a limited amount of the server memory. (CVE-2015-5288) A stack overflow flaw was discovered in the way the PostgreSQL core server processed certain JSON or JSONB input. An authenticated attacker could possibly use this flaw to crash the server backend by sending specially crafted JSON or JSONB input. (CVE-2015-5289) Please note that SSL renegotiation is now disabled by default. For more information, please refer to PostgreSQL's 2015-10-08 Security Update Release notes, linked to in the References section. All PostgreSQL users are advised to upgrade to these updated packages, which correct these issues. If the postgresql service is running, it will be automatically restarted after installing this update.
    last seen 2017-10-29
    modified 2016-04-28
    plugin id 86917
    published 2015-11-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86917
    title CentOS 7 : postgresql (CESA-2015:2078)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2015-7FAC92F49C.NASL
    description update to 9.4.5 per release notes http://www.postgresql.org/docs/9.4/static/release-9-4-5.html Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-03-04
    plugin id 89301
    published 2016-03-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89301
    title Fedora 23 : postgresql-9.4.5-1.fc23 (2015-7fac92f49c)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-0482-1.NASL
    description This update of postgresql94 to 9.4.5 fixes the following issues : - CVE-2015-5289: json or jsonb input values constructed from arbitrary user input could have crashed the PostgreSQL server and caused a denial of service (bsc#949670) - CVE-2015-5288: crypt() (pgCrypto extension) couldi potentially be exploited to read a few additional bytes of memory (bsc#949669) Also contains all changes and bugfixes in the upstream 9.4.5 release: http://www.postgresql.org/docs/current/static/release-9-4-5.html Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-05-02
    plugin id 88835
    published 2016-02-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88835
    title SUSE SLED11 / SLES11 Security Update : postgresql94 (SUSE-SU-2016:0482-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201701-33.NASL
    description The remote host is affected by the vulnerability described in GLSA-201701-33 (PostgreSQL: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in PostgreSQL. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could possibly execute arbitrary code with the privileges of the process, cause a Denial of Service condition, or escalate privileges. Workaround : There is no known workaround at this time.
    last seen 2017-10-29
    modified 2017-05-19
    plugin id 96474
    published 2017-01-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=96474
    title GLSA-201701-33 : PostgreSQL: Multiple vulnerabilities
  • NASL family Databases
    NASL id POSTGRESQL_20151008.NASL
    description The version of PostgreSQL installed on the remote host is 9.0.x prior to 9.0.23, 9.1.x prior to 9.1.19, 9.2.x prior to 9.2.14, 9.3.x prior to 9.3.10, or 9.4.x prior to 9.4.5. It is, therefore, affected by multiple vulnerabilities : - A denial of service vulnerability exists due to an unspecified flaw in the crypt() function. An authenticated, remote attacker can exploit this to cause a memory leak, resulting in a denial of service condition. (CVE-2015-5288) - A denial of service vulnerability exists due to improper validation of user-supplied JSON input. An authenticated, remote attacker can exploit this, via specially crafted JSON input, to cause the server to crash. (CVE-2015-5289) - A denial of service vulnerability exists due to a flaw that is triggered when a function is executed in an outer-subtransaction cursor. An authenticated, remote attacker can exploit this to cause a denial of service condition. (VulnDB 129228) - Multiple stack overflow conditions exist due to improper validation of user-supplied input when handling input to record types, range types, json, jsonb, tsquery, ltxtquery and query_int. An authenticated, remote attacker can exploit this to cause a denial of service condition and potentially remote code execution. (VulnDB 129229) - An information disclosure vulnerability exists due to world-readable permissions granted to temporary files that are created during a pg_dump with tar-format output. A local attacker can exploit this disclose sensitive information. (VulnDB 129230) - An overflow condition exists due to improper validation of user-supplied input when handling SIMILAR TO and LIKE matching regular expressions. An authenticated, remote attacker can exploit this to cause a stack overflow, resulting in a denial of service condition. (VulnDB 129231)
    last seen 2018-04-27
    modified 2018-04-26
    plugin id 86422
    published 2015-10-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86422
    title PostgreSQL 9.0.x < 9.0.23 / 9.1.x < 9.1.19 / 9.2.x < 9.2.14 / 9.3.x < 9.3.10 / 9.4.x < 9.4.5 Multiple Vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-0677-1.NASL
    description This update for postgresql94 fixes the following issues : - Security and bugfix release 9.4.6 : - *** IMPORTANT *** Users of version 9.4 will need to reindex any jsonb_path_ops indexes they have created, in order to fix a persistent issue with missing index entries. - Fix infinite loops and buffer-overrun problems in regular expressions (CVE-2016-0773, bsc#966436). - Fix regular-expression compiler to handle loops of constraint arcs (CVE-2007-4772). - Prevent certain PL/Java parameters from being set by non-superusers (CVE-2016-0766, bsc#966435). - Fix many issues in pg_dump with specific object types - Prevent over-eager pushdown of HAVING clauses for GROUPING SETS - Fix deparsing error with ON CONFLICT ... WHERE clauses - Fix tableoid errors for postgres_fdw - Prevent floating-point exceptions in pgbench - Make \det search Foreign Table names consistently - Fix quoting of domain constraint names in pg_dump - Prevent putting expanded objects into Const nodes - Allow compile of PL/Java on Windows - Fix 'unresolved symbol' errors in PL/Python execution - Allow Python2 and Python3 to be used in the same database - Add support for Python 3.5 in PL/Python - Fix issue with subdirectory creation during initdb - Make pg_ctl report status correctly on Windows - Suppress confusing error when using pg_receivexlog with older servers - Multiple documentation corrections and additions - Fix erroneous hash calculations in gin_extract_jsonb_path() - For the full release notse, see: http://www.postgresql.org/docs/9.4/static/release-9-4-6. html - Security and bugfix release 9.4.5 : - CVE-2015-5289, bsc#949670: json or jsonb input values constructed from arbitrary user input can crash the PostgreSQL server and cause a denial of service. - CVE-2015-5288, bsc#949669: The crypt() function included with the optional pgCrypto extension could be exploited to read a few additional bytes of memory. No working exploit for this issue has been developed. - For the full release notse, see: http://www.postgresql.org/docs/current/static/release-9- 4-5.html - Relax dependency on libpq to major version. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-12-27
    plugin id 89730
    published 2016-03-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89730
    title SUSE SLED11 / SLES11 Security Update : postgresql94 (SUSE-SU-2016:0677-1)
redhat via4
advisories
bugzilla
id 1270312
title CVE-2015-5289 postgresql: stack overflow DoS when parsing json or jsonb inputs
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 7 Client is installed
      oval oval:com.redhat.rhsa:tst:20140675001
    • comment Red Hat Enterprise Linux 7 Server is installed
      oval oval:com.redhat.rhsa:tst:20140675002
    • comment Red Hat Enterprise Linux 7 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20140675003
    • comment Red Hat Enterprise Linux 7 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20140675004
  • OR
    • AND
      • comment postgresql is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078017
      • comment postgresql is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908006
    • AND
      • comment postgresql-contrib is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078013
      • comment postgresql-contrib is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908014
    • AND
      • comment postgresql-devel is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078021
      • comment postgresql-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908010
    • AND
      • comment postgresql-docs is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078007
      • comment postgresql-docs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908016
    • AND
      • comment postgresql-libs is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078009
      • comment postgresql-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908024
    • AND
      • comment postgresql-plperl is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078023
      • comment postgresql-plperl is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908022
    • AND
      • comment postgresql-plpython is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078015
      • comment postgresql-plpython is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908018
    • AND
      • comment postgresql-pltcl is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078011
      • comment postgresql-pltcl is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908020
    • AND
      • comment postgresql-server is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078025
      • comment postgresql-server is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908012
    • AND
      • comment postgresql-test is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078019
      • comment postgresql-test is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20100908008
    • AND
      • comment postgresql-upgrade is earlier than 0:9.2.14-1.el7_1
        oval oval:com.redhat.rhsa:tst:20152078005
      • comment postgresql-upgrade is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20150750037
rhsa
id RHSA-2015:2078
released 2015-11-18
severity Moderate
title RHSA-2015:2078: postgresql security update (Moderate)
rpms
  • postgresql-0:9.2.14-1.el7_1
  • postgresql-contrib-0:9.2.14-1.el7_1
  • postgresql-devel-0:9.2.14-1.el7_1
  • postgresql-docs-0:9.2.14-1.el7_1
  • postgresql-libs-0:9.2.14-1.el7_1
  • postgresql-plperl-0:9.2.14-1.el7_1
  • postgresql-plpython-0:9.2.14-1.el7_1
  • postgresql-pltcl-0:9.2.14-1.el7_1
  • postgresql-server-0:9.2.14-1.el7_1
  • postgresql-test-0:9.2.14-1.el7_1
  • postgresql-upgrade-0:9.2.14-1.el7_1
refmap via4
bid 77048
confirm
debian DSA-3374
fedora
  • FEDORA-2015-6d2a957a87
  • FEDORA-2015-7fac92f49c
gentoo GLSA-201701-33
sectrack 1033775
suse
  • SUSE-SU-2016:0677
  • openSUSE-SU-2015:1907
ubuntu USN-2772-1
Last major update 23-12-2016 - 21:59
Published 26-10-2015 - 10:59
Last modified 30-06-2017 - 21:29
Back to Top