Skip to content

chore: add newly disclosed PostgreSQL CVEs - #42

Open
github-actions[bot] wants to merge 3 commits into
mainfrom
chore/pgdg-cve-scrape
Open

chore: add newly disclosed PostgreSQL CVEs#42
github-actions[bot] wants to merge 3 commits into
mainfrom
chore/pgdg-cve-scrape

Conversation

@github-actions

Copy link
Copy Markdown

Automated PGDG security-index scrape.

The scraper (tools/scrape_pgdg.py) ran against
https://www.postgresql.org/support/security/?cve=title and
found CVE entries newer than what's in data/cves.json. The
proposed additions are in proposed-cves.json below.

Action items for a human:

  • Eyeball each entry: confirm it actually affects
    PostgreSQL 15-18.
  • Sanity-check summaries (one-line, technical).
  • Confirm CVSS thresholds (tool defaults to >= 7.0).
  • Merge the JSON into data/cves.json:
    bash uv run python tools/scrape_pgdg.py --write --yes uv run python tools/generate_cve_sql.py git add data/cves.json pgFirstAid.sql view_pgFirstAid.sql view_pgFirstAid_managed.sql git commit -m "chore: refresh CVE catalog"
  • Delete proposed-cves.json before merge.

scraper exit code: true (non-zero = additions pending)

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Author

Neon Before/After Validation

Metric Value
Branch ID br-empty-poetry-ah87d91v
Baseline CRITICAL 1
Post-change CRITICAL 1
New CRITICAL issues 0

No new critical issues -- safe to deploy.

Neon branch deleted automatically after workflow completion.

- testing/local-workflows/test_managed_db_validate.sh: DROP TABLE IF EXISTS
  _snap before CREATE TEMP TABLE so the second psql invocation in the same
  job doesn't trip 'relation _snap already exists'.
- testing/seed_and_validate.py:
  * Add time-threshold patches (5m -> 1h, 30s -> 5m) so the seed workload's
    deliberately long-running / idle-in-transaction sessions don't trip
    the CI matrix (PG16 Neon run was failing the 5-minute checks).
  * Retry classify_pss_state once on OperationalError to recover from Neon
    closing the connection during the multi-minute psql seed step.

Refs: #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant