[Security] Bound padding allocations using the existing preview budget #22

Closed
opened 2026-09-08 01:06:03 +02:00 by zemion · 1 comment
Owner

Implemented locally: LPAD/RPAD reject target lengths over the existing 1,000,000-byte node result budget before fill evaluation or allocation. A shared limit avoids drift. Existing final serialized-byte checks remain. Null, negative, empty-fill, truncation and Unicode behavior are covered. Oversized intermediates inside LENGTH/SUBSTRING now fail early even when the final scalar is small; EN/DE docs explain this. Full suite: 104 tests and 39 subtests pass, including 7 new regressions independently rerun. No commits/push/live execution. General regex and aggregate resource isolation remain separate.

Source review and coordinated status: GovOPlaN/govoplan-core#296 .

Implemented locally: LPAD/RPAD reject target lengths over the existing 1,000,000-byte node result budget before fill evaluation or allocation. A shared limit avoids drift. Existing final serialized-byte checks remain. Null, negative, empty-fill, truncation and Unicode behavior are covered. Oversized intermediates inside LENGTH/SUBSTRING now fail early even when the final scalar is small; EN/DE docs explain this. Full suite: 104 tests and 39 subtests pass, including 7 new regressions independently rerun. No commits/push/live execution. General regex and aggregate resource isolation remain separate. Source review and coordinated status: https://git.add-ideas.de/GovOPlaN/govoplan-core/issues/296 .
Author
Owner

Implemented and released in Dataflow0.1.24: LPAD/RPAD reject oversized target lengths against the existing1000000-byte preview budget before fill evaluation/allocation. Final serialized-byte checks remain, with documented early rejection of oversized intermediates. The104-test/39-subtest module verification and final integrated gate passed. General regex/aggregate resource isolation remains Core #297 work.

Publication evidence: Meta #51 records verified source tags, native packages and signed catalog Git publication. catalog-v0.1.45 is commit 03ac237949a1963189d1b7a4b3cc3397e60b10a1, annotated tag object 3d4735ea3028edfa47341e4f0b53650a4ae868d6, sequence 202609080236; exact stable.json SHA-256 00dd1fa8390b7823dc082eddaca0bd826f9fcee0c479f56cd82ea55f93bf3cc8.

This is not a live website deployment: a fresh public read still serves0.1.18/sequence202608061915. Website #9 owns authorized website rollout and its separate image-review gates. No application runtime distribution was published; Meta #52 remains held. No real mail/file/workflow operations or deployment were used to verify this closure.

<!-- govoplan-release-0.1.45-bounded-close:govoplan-dataflow:22 --> Implemented and released in Dataflow0.1.24: LPAD/RPAD reject oversized target lengths against the existing1000000-byte preview budget before fill evaluation/allocation. Final serialized-byte checks remain, with documented early rejection of oversized intermediates. The104-test/39-subtest module verification and final integrated gate passed. General regex/aggregate resource isolation remains [Core #297](https://git.add-ideas.de/GovOPlaN/govoplan-core/issues/297) work. Publication evidence: [Meta #51](https://git.add-ideas.de/GovOPlaN/govoplan/issues/51) records verified source tags, native packages and signed catalog Git publication. [catalog-v0.1.45](https://git.add-ideas.de/add-ideas/addideas-govoplan-website/src/tag/catalog-v0.1.45/public/catalogs/v1/channels/stable.json) is commit `03ac237949a1963189d1b7a4b3cc3397e60b10a1`, annotated tag object `3d4735ea3028edfa47341e4f0b53650a4ae868d6`, sequence `202609080236`; exact stable.json SHA-256 `00dd1fa8390b7823dc082eddaca0bd826f9fcee0c479f56cd82ea55f93bf3cc8`. This is not a live website deployment: a fresh public read still serves0.1.18/sequence202608061915. [Website #9](https://git.add-ideas.de/add-ideas/addideas-govoplan-website/issues/9) owns authorized website rollout and its separate image-review gates. No application runtime distribution was published; [Meta #52](https://git.add-ideas.de/GovOPlaN/govoplan/issues/52) remains held. No real mail/file/workflow operations or deployment were used to verify this closure.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-dataflow#22