cve.bz

CVE-2013-1899 Code Injection

no score yetExploitEPSS 54%

No CVSS score yet. EPSS 54% estimated probability of exploitation activity in the next 30 days.

On this page
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to modify configuration settings and execute arbitrary code, via a connection request using a database name that begins with a "-" (hyphen).
EPSS
54% (unchanged from 54% a week ago; 54% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-1899 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-1899?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-1899?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-1899 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresql9.2
postgresql:postgresql9.2.1
postgresql:postgresql9.2.2
postgresql:postgresql9.2.3
postgresql:postgresql9.1
postgresql:postgresql9.1.1
postgresql:postgresql9.1.2
postgresql:postgresql9.1.3
postgresql:postgresql9.1.4
postgresql:postgresql9.1.5
postgresql:postgresql9.1.6
postgresql:postgresql9.1.7
postgresql:postgresql9.1.8
postgresql:postgresql9.0
postgresql:postgresql9.0.1
postgresql:postgresql9.0.2
postgresql:postgresql9.0.3
postgresql:postgresql9.0.4
postgresql:postgresql9.0.5
postgresql:postgresql9.0.6
postgresql:postgresql9.0.7
postgresql:postgresql9.0.8
postgresql:postgresql9.0.9
postgresql:postgresql9.0.10
postgresql:postgresql9.0.11
postgresql:postgresql9.0.12
canonical:ubuntu_linux8.04
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.10
canonical:ubuntu_linux12.04
canonical:ubuntu_linux12.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7postgresql-9.19.1.9-0wheezy1DSA-2658-1
Red Hatcloudforms_managementengine:5::el6cfme, cfme-lib, cfme-appliance and 2 more0:5.2.0.37-1.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6cfme-vnc-plugin, cfme-vnc-plugin-debuginfo0:1.0.0-2.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6libdnet, libdnet-devel, libdnet-progs and 1 more0:1.12-11.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6lshw, lshw-gui, lshw-debuginfo0:B.02.16-4.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6netapp-manageability-sdk, netapp-manageability-sdk-devel0:4.0P1-3.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6open-vm-tools, open-vm-tools-devel, open-vm-tools-desktop and 1 more0:9.2.3-5.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6postgresql92, postgresql92-build, postgresql92-runtime0:1-12.el6RHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6postgresql92-postgresql, postgresql92-postgresql-docs, postgresql92-postgresql-libs and 9 more0:9.2.4-7.el6RHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6prince0:9.0r2-3.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6pyliblzma, pyliblzma-debuginfo0:0.5.3-7.el6cfRHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6ruby193, ruby193-build, ruby193-runtime0:1-11.el6RHEA-2013:1487
Red Hatcloudforms_managementengine:5::el6ruby193-libyaml, ruby193-libyaml-devel, ruby193-libyaml-debuginfo0:0.1.4-5.el6RHEA-2013:1487
163 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedpostgresql939.3.15-1.1openSUSE-SU-2024:10256-1
openSUSETumbleweedpostgresql949.4.10-1.1openSUSE-SU-2024:10030-1
openSUSETumbleweedpostgresql959.5.4-1.2openSUSE-SU-2024:10273-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Not Vulnerable. This issue does not affect the version of postgresql as shipped with Red Hat Enterprise Linux 5 and 6. This issue does not affect the version of postgresql84 as shipped with Red Hat Enterprise Linux 5.

ProductPackageStateAdvisory
CloudForms Management Engine 5.xcfme-0:5.2.0.37-1.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xcfme-vnc-plugin-0:1.0.0-2.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xlibdnet-0:1.12-11.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xlshw-0:B.02.16-4.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xnetapp-manageability-sdk-0:4.0P1-3.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xopen-vm-tools-0:9.2.3-5.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xpostgresql92-0:1-12.el6Fixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xpostgresql92-postgresql-0:9.2.4-7.el6Fixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xprince-0:9.0r2-3.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xpyliblzma-0:0.5.3-7.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xruby193-0:1-11.el6Fixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xruby193-libyaml-0:0.1.4-5.el6Fixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xruby193-ruby-0:1.9.3.448-38.el6Fixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xruby193-rubygem-actionmailer-1:3.2.13-3.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xruby193-rubygem-actionpack-1:3.2.13-4.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5.xruby193-rubygem-actionwebservice-1:3.1.0-3.el6cfFixed 2013-10-31RHEA-2013:1487
CloudForms Management Engine 5postgresqlWill not fix
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 5postgresql84Not affected
Red Hat Enterprise Linux 6postgresqlNot affected
175 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-1899.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON