{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "None"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-1618.json"
      }
    ],
    "title": "postgresql-jdbc: SQL injection due improper escaping of JDBC statement parameters",
    "tracking": {
      "current_release_date": "2026-11-07T11:03:19+00:00",
      "generator": {
        "date": "2026-11-07T11:03:19+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2012-1618",
      "initial_release_date": "2012-03-25T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2012-03-25T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-04-11T01:07:59+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T11:03:19+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "category": "product_version",
            "name": "postgresql-jdbc.src",
            "product": {
              "name": "postgresql-jdbc.src",
              "product_id": "postgresql-jdbc.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/postgresql-jdbc?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "postgresql-jdbc",
            "product": {
              "name": "postgresql-jdbc",
              "product_id": "postgresql-jdbc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/postgresql-jdbc"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-jdbc.src as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:postgresql-jdbc.src"
        },
        "product_reference": "postgresql-jdbc.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-jdbc as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:postgresql-jdbc"
        },
        "product_reference": "postgresql-jdbc",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-jdbc.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:postgresql-jdbc.src"
        },
        "product_reference": "postgresql-jdbc.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2012-1618",
      "discovery_date": "2012-03-27T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_5:postgresql-jdbc.src",
            "red_hat_enterprise_linux_6:postgresql-jdbc",
            "red_hat_enterprise_linux_6:postgresql-jdbc.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "807394"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Interaction error in the PostgreSQL JDBC driver before 8.2, when used with a PostgreSQL server with the \"standard_conforming_strings\" option enabled, such as the default configuration of PostgreSQL 9.1, does not properly escape unspecified JDBC statement parameters, which allows remote attackers to perform SQL injection attacks.  NOTE: as of 20120330, it was claimed that the upstream developer planned to dispute this issue, but an official dispute has not been posted as of 20121005.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "postgresql-jdbc: SQL injection due improper escaping of JDBC statement parameters",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "The upstream development team of the JDBC driver for the PostgreSQL database does not consider improper escaping of certain JDBC statement / query parameters, when the JDBC driver of version older than the version of underlying PostgresSQL server is being used, to be a security defect. In general, the JDBC driver for the PostgreSQL database does not promise to work with server releases newer than the driver release. The Red Hat Security Response Team agrees with their assessment and so does not consider this to be a security flaw.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_5:postgresql-jdbc.src",
          "red_hat_enterprise_linux_6:postgresql-jdbc",
          "red_hat_enterprise_linux_6:postgresql-jdbc.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2012-1618"
        },
        {
          "category": "external",
          "summary": "RHBZ#807394",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=807394"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2012-1618",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-1618"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2012-1618",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1618"
        }
      ],
      "release_date": "2012-03-25T00:00:00+00:00",
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:postgresql-jdbc.src",
            "red_hat_enterprise_linux_6:postgresql-jdbc",
            "red_hat_enterprise_linux_6:postgresql-jdbc.src"
          ]
        }
      ],
      "title": "postgresql-jdbc: SQL injection due improper escaping of JDBC statement parameters"
    }
  ]
}