You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tooling.apache.org by "andrewmusselman (via GitHub)" <gi...@apache.org> on 2026/02/17 05:45:22 UTC

[I] Task worker executes with stale authorization (TOCTOU) (tooling-trusted-releases)

andrewmusselman opened a new issue, #658:
URL: https://github.com/apache/tooling-trusted-releases/issues/658

   **Audit refs:** 8.1.1 MEDIUM-05, 8.2.1 ยง2.8/2.9, 8.2.2 MEDIUM-005, 8.3.1 MEDIUM-01
   
   #### Description
   
   `atr/worker.py:181-260` โ€” the background task worker executes tasks using the `asf_uid` stored at task creation time without re-verifying authorization at execution time.
   
   **Scenario:** A user creates a task at T1 with valid access โ†’ access is revoked at T2 โ†’ worker processes task at T3 with revoked privileges.
   
   This affects all task-based operations including message sending, SBOM generation, SVN imports, GHA workflows, and vote initiation.
   
   #### Recommended fix
   
   Re-verify authorization for security-sensitive tasks at execution time. Implement task expiration for privileged operations.
   
   **CWE:** CWE-367 (TOCTOU) | **CVSS:** 5.0


-- 
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: dev-unsubscribe@tooling.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Task worker executes with stale authorization (TOCTOU) (tooling-trusted-releases)

Posted by "dave2wave (via GitHub)" <gi...@apache.org>.
dave2wave closed issue #658: Task worker executes with stale authorization (TOCTOU)
URL: https://github.com/apache/tooling-trusted-releases/issues/658


-- 
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: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Task worker executes with stale authorization (TOCTOU) (tooling-trusted-releases)

Posted by "alitheg (via GitHub)" <gi...@apache.org>.
alitheg commented on issue #658:
URL: https://github.com/apache/tooling-trusted-releases/issues/658#issuecomment-3915268801

   I think this and #663 are the same?


-- 
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: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Task worker executes with stale authorization (TOCTOU) (tooling-trusted-releases)

Posted by "andrewmusselman (via GitHub)" <gi...@apache.org>.
andrewmusselman commented on issue #658:
URL: https://github.com/apache/tooling-trusted-releases/issues/658#issuecomment-3915691263

   > I think this and [#663](https://github.com/apache/tooling-trusted-releases/issues/663) are the same? [@andrewmusselman](https://github.com/andrewmusselman)
   
   So they are; thank you!


-- 
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: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org