You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/10/20 11:35:21 UTC
[I] security-cve-allocate: first push after API allocation is refused (placeholder product) [magpie]
potiuk opened a new issue, #1736:
URL: https://github.com/apache/magpie/issues/1736
After `vulnogram-api-allocate`, the live record is a RESERVED placeholder whose product is `[VENDOR] [PRODUCT]`. The documented Step 4/5 push (`vulnogram-api-record-update`) then refuses with a product-rename error unless `--allow-product-change` is passed, which the docs say to use only after confirming with the user — so every fresh allocation needs an extra manual confirmation.
Suggest letting the push detect the untouched allocation placeholder (state RESERVED, placeholder product) and allow the product to be set there automatically, keeping the guard for records that carry real content.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] security-cve-allocate: first push after API allocation is refused (placeholder product) [magpie]
Posted by "potiuk (via GitHub) via commits" <co...@magpie.apache.org>.
potiuk closed issue #1736: security-cve-allocate: first push after API allocation is refused (placeholder product)
URL: https://github.com/apache/magpie/issues/1736
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] security-cve-allocate: first push after API allocation is refused (placeholder product) [magpie]
Posted by "ChickenBenny (via GitHub) via commits" <co...@magpie.apache.org>.
ChickenBenny commented on issue #1736:
URL: https://github.com/apache/magpie/issues/1736#issuecomment-6920839156
Hi @choksi2212, I noticed your branch for this but no PR yet. Are you still planning to open one? If not, I'd be happy to pick it up and credit your analysis.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] security-cve-allocate: first push after API allocation is refused (placeholder product) [magpie]
Posted by "choksi2212 (via GitHub)" <gi...@apache.org>.
choksi2212 commented on issue #1736:
URL: https://github.com/apache/magpie/issues/1736#issuecomment-6293719845
Update: branch [`fix/reserved-placeholder-product-push-1736`](https://github.com/choksi2212/magpie/tree/fix/reserved-placeholder-product-push-1736) is ready with the fix and regression tests.
Verification: 4 new unit tests in `tests/test_merge_mode.py` (untouched placeholder passes without `--allow-product-change`, placeholder-plus-real-content still refuses, non-`RESERVED` placeholder still refuses), full `oauth-api` suite 160 passed with the only failures being the pre-existing POSIX-permission tests on this Windows host (identical on pristine `main`), `ruff check` / `ruff format` / `mypy` clean on the touched files, and `tools/dev/check-placeholders.sh` OK. Negative control: with only the bypass arm neutralized, exactly the two bypass tests fail; restored, all green.
Per the repo's PR convention (`gh pr create --web`), I'm preparing the PR for submission — will link it here once it's up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] security-cve-allocate: first push after API allocation is refused (placeholder product) [magpie]
Posted by "choksi2212 (via GitHub)" <gi...@apache.org>.
choksi2212 commented on issue #1736:
URL: https://github.com/apache/magpie/issues/1736#issuecomment-6292874017
Taking this one.
Plan: teach `_diff_affected_products` that a `RESERVED` record whose `affected[]` carries only the `[VENDOR] [PRODUCT]` placeholder is first-time population too — the same non-diff treatment an empty `affected[]` already gets — so the first real push after `vulnogram-api-allocate` goes through without `--allow-product-change`, while records that already carry any real product keep the guard. Regression tests included (untouched placeholder passes; placeholder-plus-real-content still refuses; non-RESERVED placeholder still refuses).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org