Skip to content

docs(security): ADR 0002 — accept pgx/v4 + pgproto3/v2 risk (no upstream fix)#120

Merged
intel352 merged 1 commit into
mainfrom
sec/pgx-risk-acceptance-adr-20260529
May 29, 2026
Merged

docs(security): ADR 0002 — accept pgx/v4 + pgproto3/v2 risk (no upstream fix)#120
intel352 merged 1 commit into
mainfrom
sec/pgx-risk-acceptance-adr-20260529

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Documents the resolution of the 6 Dependabot alerts on pgx/v4 + pgproto3/v2.

These have no upstream fix — pgx/v4 (≤4.18.3) and pgproto3/v2 (≤2.3.3) are at their final vulnerable releases; the patch exists only in the pgx/v5 line. They are transitive via go-db-credential-refresh/driver v1.2.1 (latest), used for AWS RDS IAM credential rotation, which has not migrated to pgx/v5.

Risk assessed tolerable (pgproto3 DoS requires a malicious Postgres server — we connect only to trusted RDS; pgx SQLi placeholder pattern is not used). The 6 alerts (#23#25 high, #54#56 low) have been dismissed as tolerable_risk; this ADR records the reasoning and the follow-up to migrate when upstream adopts pgx/v5.

Doc-only.

…eam fix)

Documents dismissal of Dependabot alerts #23-#25 (pgproto3/v2 DoS, HIGH) and
#54-#56 (pgx/v4 SQLi, low). Both packages are at their final vulnerable
releases with no patch (fix only in pgx/v5); they are transitive via
go-db-credential-refresh/driver v1.2.1 (RDS IAM cred rotation), which has not
migrated to pgx/v5. Risk assessed tolerable (DoS needs malicious PG server;
SQLi query pattern unused). Alerts dismissed as tolerable_risk with follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@intel352 intel352 merged commit f536ce2 into main May 29, 2026
8 checks passed
@intel352 intel352 deleted the sec/pgx-risk-acceptance-adr-20260529 branch May 29, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant