Skip to content

GHSA-p46v-f2x8-qp98: add fixed event 2.0.0-rc3 for github.com/prest/p… - #9046

Open
DTDucas wants to merge 1 commit into
github:DTDucas/advisory-improvement-9046from
DTDucas:dtducas-GHSA-p46v-f2x8-qp98
Open

GHSA-p46v-f2x8-qp98: add fixed event 2.0.0-rc3 for github.com/prest/p…#9046
DTDucas wants to merge 1 commit into
github:DTDucas/advisory-improvement-9046from
DTDucas:dtducas-GHSA-p46v-f2x8-qp98

Conversation

@DTDucas

@DTDucas DTDucas commented Aug 11, 2026

Copy link
Copy Markdown

…rest/v2

The record states the module is affected below 2.0.0-rc2 and carries no fixed event. Both halves are inaccurate: 2.0.0-rc2 is itself affected, and the fixed version is known precisely.

  • 2.0.0-rc2 was published 2025-02-18. The fix commit referenced by this advisory, 47d02b87 ("fix(postgres): improve _returning param handling for SQL injection safety"), is dated 2025-09-08 — nearly seven months later, so rc2 cannot contain it.
  • compare/v2.0.0-rc2...47d02b87 reports "ahead": rc2 does not contain the fix.
  • compare/v2.0.0-rc3...47d02b87 reports "identical": tag v2.0.0-rc3 is that exact commit. It was published 2025-09-08, the same day, and is therefore the first version carrying the fix.
  • Every later release contains it: rc4, rc5, rc6, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0 and 2.4.1 all report "behind" against the fix commit.

With no fixed event the advisory reports no patch available, even though 2.0.0-rc3 has been out since September 2025 and 2.4.1 is the current release. Adding it also brings 2.0.0-rc2 inside the affected range, where it belongs.

database_specific.last_known_affected_version_range is removed because the fixed version is now asserted; the field exists to record that it is unknown.

…rest/v2

The record states the module is affected below 2.0.0-rc2 and carries no fixed
event. Both halves are inaccurate: 2.0.0-rc2 is itself affected, and the fixed
version is known precisely.

- 2.0.0-rc2 was published 2025-02-18. The fix commit referenced by this
  advisory, 47d02b87 ("fix(postgres): improve `_returning` param handling for
  SQL injection safety"), is dated 2025-09-08 — nearly seven months later, so
  rc2 cannot contain it.
- `compare/v2.0.0-rc2...47d02b87` reports "ahead": rc2 does not contain the fix.
- `compare/v2.0.0-rc3...47d02b87` reports "identical": tag v2.0.0-rc3 is that
  exact commit. It was published 2025-09-08, the same day, and is therefore the
  first version carrying the fix.
- Every later release contains it: rc4, rc5, rc6, 2.0.0, 2.1.0, 2.2.0, 2.3.0,
  2.4.0 and 2.4.1 all report "behind" against the fix commit.

With no fixed event the advisory reports no patch available, even though
2.0.0-rc3 has been out since September 2025 and 2.4.1 is the current release.
Adding it also brings 2.0.0-rc2 inside the affected range, where it belongs.

`database_specific.last_known_affected_version_range` is removed because the
fixed version is now asserted; the field exists to record that it is unknown.
@github-actions
github-actions Bot changed the base branch from main to DTDucas/advisory-improvement-9046 August 11, 2026 08: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