Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/55558?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55558?format=api", "vulnerability_id": "VCID-z8ak-6s1q-abh4", "summary": "pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.", "aliases": [ { "alias": "CVE-2024-27289" }, { "alias": "GHSA-m7wr-2xf7-cm9p" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/44040?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@4.18.1-2?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@4.18.1-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/1077063?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@4.18.1-2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@4.18.1-2" }, { "url": "http://public2.vulnerablecode.io/api/packages/44039?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@4.18.3-2?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@4.18.3-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/372711?format=api", "purl": "pkg:golang/github.com/jackc/pgx/v4@4.18.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/jackc/pgx/v4@4.18.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/44037?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@3.6.2-2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-m3wd-qzq7-z3a1" }, { "vulnerability": "VCID-z8ak-6s1q-abh4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@3.6.2-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/1077061?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@3.6.2-2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-m3wd-qzq7-z3a1" }, { "vulnerability": "VCID-z8ak-6s1q-abh4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@3.6.2-2" }, { "url": "http://public2.vulnerablecode.io/api/packages/44038?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@4.15.0-4?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-m3wd-qzq7-z3a1" }, { "vulnerability": "VCID-z8ak-6s1q-abh4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@4.15.0-4%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/1077062?format=api", "purl": "pkg:deb/debian/golang-github-jackc-pgx@4.15.0-4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-m3wd-qzq7-z3a1" }, { "vulnerability": "VCID-z8ak-6s1q-abh4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-jackc-pgx@4.15.0-4" } ], "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-27289.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-27289.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-27289", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00591", "scoring_system": "epss", "scoring_elements": "0.69786", "published_at": "2026-06-14T12:55:00Z" }, { "value": "0.00591", "scoring_system": "epss", "scoring_elements": "0.69789", "published_at": "2026-06-13T12:55:00Z" }, { "value": "0.00591", "scoring_system": "epss", "scoring_elements": "0.69684", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.00591", "scoring_system": "epss", "scoring_elements": "0.69775", "published_at": "2026-06-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-27289" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27289", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27289" }, { "reference_url": "https://github.com/jackc/pgx", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "8.7", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/jackc/pgx" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27289", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "8.7", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27289" }, { "reference_url": "https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "8.7", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065686", "reference_id": "1065686", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065686" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2268465", "reference_id": "2268465", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2268465" }, { "reference_url": "https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df", "reference_id": "f94eb0e2f96782042c96801b5ac448f44f0a81df", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "8.7", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-24T14:13:55Z/" } ], "url": "https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df" }, { "reference_url": "https://github.com/jackc/pgx/security/advisories/GHSA-m7wr-2xf7-cm9p", "reference_id": "GHSA-m7wr-2xf7-cm9p", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "8.7", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-24T14:13:55Z/" } ], "url": "https://github.com/jackc/pgx/security/advisories/GHSA-m7wr-2xf7-cm9p" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2024:1321", "reference_id": "RHSA-2024:1321", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2024:1321" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2024:7922", "reference_id": "RHSA-2024:7922", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2024:7922" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2024:7944", "reference_id": "RHSA-2024:7944", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2024:7944" } ], "weaknesses": [ { "cwe_id": 89, "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component." } ], "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-z8ak-6s1q-abh4" }