Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30154?format=api",
    "vulnerability_id": "VCID-su7j-n4f9-y3a2",
    "summary": "pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration\n### Impact\nWhen the PostgreSQL JDBC driver is configured with channel binding set to `required` (default value is `prefer`), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI  authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements.\n\n### Patches\nTBD\n\n### Workarounds\n\nConfigure `sslMode=verify-full` to prevent MITM attacks.\n\n### References\n\n* https://www.postgresql.org/docs/current/sasl-authentication.html#SASL-SCRAM-SHA-256\n* https://datatracker.ietf.org/doc/html/rfc7677\n* https://datatracker.ietf.org/doc/html/rfc5802",
    "aliases": [
        {
            "alias": "CVE-2025-49146"
        },
        {
            "alias": "GHSA-hq9p-pm7w-8p54"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469072?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=aarch64&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=aarch64&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469073?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=armhf&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=armhf&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469075?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=loongarch64&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=loongarch64&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469076?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=ppc64le&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=ppc64le&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469077?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=riscv64&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=riscv64&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469079?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=x86&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=x86&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469080?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=x86_64&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=x86_64&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469074?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=armv7&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=armv7&distroversion=edge&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/469078?format=api",
            "purl": "pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0?arch=s390x&distroversion=edge&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/java-postgresql-jdbc@42.7.9-r0%3Farch=s390x&distroversion=edge&reponame=community"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/70934?format=api",
            "purl": "pkg:maven/org.postgresql/postgresql@42.7.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.7.7"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/570511?format=api",
            "purl": "pkg:maven/org.postgresql/postgresql@42.7.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-su7j-n4f9-y3a2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.7.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/773717?format=api",
            "purl": "pkg:maven/org.postgresql/postgresql@42.7.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-su7j-n4f9-y3a2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.7.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/773718?format=api",
            "purl": "pkg:maven/org.postgresql/postgresql@42.7.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-su7j-n4f9-y3a2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/postgresql@42.7.6"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-49146.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-49146.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-49146",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.02274",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.02279",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.11955",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12082",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12114",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12091",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12008",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12067",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.11951",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12151",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0004",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12142",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-49146"
        },
        {
            "reference_url": "https://datatracker.ietf.org/doc/html/rfc5802",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://datatracker.ietf.org/doc/html/rfc5802"
        },
        {
            "reference_url": "https://datatracker.ietf.org/doc/html/rfc7677",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://datatracker.ietf.org/doc/html/rfc7677"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/pgjdbc/pgjdbc",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pgjdbc/pgjdbc"
        },
        {
            "reference_url": "https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-06-11T14:46:03Z/"
                }
            ],
            "url": "https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0"
        },
        {
            "reference_url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-06-11T14:46:03Z/"
                }
            ],
            "url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-49146",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-49146"
        },
        {
            "reference_url": "https://www.postgresql.org/docs/current/sasl-authentication.html#SASL-SCRAM-SHA-256",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.postgresql.org/docs/current/sasl-authentication.html#SASL-SCRAM-SHA-256"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107696",
            "reference_id": "1107696",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107696"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2372307",
            "reference_id": "2372307",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2372307"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hq9p-pm7w-8p54",
            "reference_id": "GHSA-hq9p-pm7w-8p54",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-hq9p-pm7w-8p54"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:10323",
            "reference_id": "RHSA-2025:10323",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:10323"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:13010",
            "reference_id": "RHSA-2025:13010",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:13010"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:13012",
            "reference_id": "RHSA-2025:13012",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:13012"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:13274",
            "reference_id": "RHSA-2025:13274",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:13274"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:16409",
            "reference_id": "RHSA-2025:16409",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:16409"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:9697",
            "reference_id": "RHSA-2025:9697",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:9697"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 287,
            "name": "Improper Authentication",
            "description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-su7j-n4f9-y3a2"
}