← Back
UBUNTU-CVE-2024-27304
Vulnerability in golang-github-jackc-pgx (UBUNTU-CVE-2024-27304)
Summary
vulnerability in golang-github-jackc-pgx (UBUNTU-CVE-2024-27304). Successful exploitation can lead to full system takeover.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **UBUNTU-CVE-2024-27304** has been found in golang-github-jackc-pgx.
Successful exploitation can lead to full system takeover. CVSS score: ?/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "golang-github-jackc-pgx UBUNTU-CVE-2024-27304" on the vendor's site.
UBUNTU-CVE-2024-27304 (golang-github-jackc-pgx) —
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (unclassified) exists in golang-github-jackc-pgx.
📍 Affected scope
golang-github-jackc-pgx — .
🔥 Severity
Severity: ?. Successful exploitation can lead to full system takeover
🔧 How to fix
Update to the patched release per vendor advisory.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'golang-github-jackc-pgx' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'golang-github-jackc-pgx' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `golang-github-jackc-pgx` を grep し、稼働しているサービス・バージョンを把握する。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
Ubuntu:22.04:LTS
golang-github-jackc-pgx
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:24.04:LTS
golang-github-jackc-pgproto3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:24.04:LTS
golang-github-jackc-pgx
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:25.10
golang-github-jackc-pgproto3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:25.10
golang-github-jackc-pgx
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:26.04:LTS
golang-github-jackc-pgproto3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:26.04:LTS
golang-github-jackc-pgx
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
References
- report https://ubuntu.com/security/CVE-2024-27304
- report https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv
- report https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4
- report https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8
- report https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df
- report https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8
- report https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007
- report https://www.cve.org/CVERecord?id=CVE-2024-27304