Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/58015?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/58015?format=api",
    "vulnerability_id": "VCID-9mtm-mq8y-byep",
    "summary": "Unescaped parameters in the PostgreSQL JDBC driver\nInteraction 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.",
    "aliases": [
        {
            "alias": "CVE-2012-1618"
        },
        {
            "alias": "GHSA-h86w-m5rm-xr33"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928175?format=api",
            "purl": "pkg:deb/debian/libpgjava@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpgjava@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928176?format=api",
            "purl": "pkg:deb/debian/libpgjava@42.2.15-1%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpgjava@42.2.15-1%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928174?format=api",
            "purl": "pkg:deb/debian/libpgjava@42.5.5-0%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpgjava@42.5.5-0%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928178?format=api",
            "purl": "pkg:deb/debian/libpgjava@42.7.7-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpgjava@42.7.7-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928177?format=api",
            "purl": "pkg:deb/debian/libpgjava@42.7.10-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpgjava@42.7.10-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1618.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1618.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1618",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83293",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83164",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83181",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83195",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83193",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83218",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83225",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83241",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83235",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83231",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83267",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83268",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83269",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1618"
        },
        {
            "reference_url": "https://bugzilla.novell.com/show_bug.cgi?id=754273",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugzilla.novell.com/show_bug.cgi?id=754273"
        },
        {
            "reference_url": "https://github.com/pgjdbc/pgjdbc",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pgjdbc/pgjdbc"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1618",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1618"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/03/30/8",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/03/30/8"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/03/30/9",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/03/30/9"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/03/31/1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/03/31/1"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/04/02/4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/04/02/4"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/04/04/11",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/04/04/11"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/04/04/4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/04/04/4"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/04/04/5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/04/04/5"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/04/04/9",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/04/04/9"
        },
        {
            "reference_url": "http://www.osvdb.org/80641",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.osvdb.org/80641"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=807394",
            "reference_id": "807394",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=807394"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.1:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:postgresql:postgresql:9.1:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.1:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql_jdbc_driver:8.1:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:postgresql:postgresql_jdbc_driver:8.1:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql_jdbc_driver:8.1:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-h86w-m5rm-xr33",
            "reference_id": "GHSA-h86w-m5rm-xr33",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-h86w-m5rm-xr33"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9mtm-mq8y-byep"
}