Session Timeout Documentation Missing NIST SP 800-63B Deviation Justification and Internal Inconsistency
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
atr/sessions.py の Store.validate() から始め、次に atr/docs/authentication-security.md と atr/docs/asfquart-usage.md を読んで、適用されるタイムアウト値を比較します。7 日間のアイドルタイムアウトが、設定可能な絶対最大値および委任された ASF IdP 認証とどのように関係するかを追跡します。ドキュメントに NIST からの逸脱理由が記録され、到達可能な非アクティブタイムアウト設定を含め、両方のタイムアウト値をカバーするテストがあれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Bringing this to asfquart out of some triage on tooling-trusted-releases; the question is upstream so we consolidate discussion about whether to adopt this or another standard, or document our decisions.
Specifically, things like what should all our timeouts be, how does this line up with MFA, if a user logs out of an app does it invalidate their MFA, etc.
Summary
Two documentation deficiencies exist in the session timeout configuration: (1) the NIST SP 800-63B deviation justification is absent, and (2) the hardcoded 7-day inactivity timeout can never fire under the default 72-hour absolute maximum, making it effectively dead code.
Details
Both an inactivity timeout (_SESSION_IDLE_TIMEOUT, 7 days) and an absolute maximum lifetime (MAX_SESSION_AGE, documented default 72 hours) exist and are documented. However:
- The documentation describes the timeout values but does not reference NIST SP 800-63B re-authentication requirements or justify the chosen values as a deviation.
- The 7-day inactivity timeout is longer than the 72-hour absolute maximum, so the inactivity check can never fire under default configuration — making it effectively dead code.
Attacker capability required: None (documentation/analysis gap).
Impact: No direct C/I/A impact.
Affected files:
atr/sessions.pyatr/docs/authentication-security.mdatr/docs/asfquart-usage.md
ASVS: 7.1.1 (L2)
Remediation
Add a session risk-analysis note to the session-management documentation that:
- (a) States the concrete inactivity and absolute-lifetime values actually enforced by
Store.validate(). - (b) Documents the relationship between the hardcoded 7-day idle timeout and the configurable absolute maximum.
- (c) Records the justification for deviating from NIST SP 800-63B re-authentication intervals given the delegation of primary auth to the ASF IdP.
Consider making _SESSION_IDLE_TIMEOUT configurable so it cannot silently become dead code.
Acceptance Criteria
- Fixed
- Test added — assert that
Store.validate()correctly applies both timeout values and that the inactivity timeout is reachable under a configuration where it is shorter than the absolute maximum
References
- ASVS 7.1.1
- Source report:
7.1.1.md
- 主要言語
- Python
- スター
- 7
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/infrastructure-asfquart のほかの issue
-
bug priority
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Document external service endpoints and failure behavior対応中かも @AnKiT-GaRG2 が 3 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Document OAuth callback consistency rules対応中かも @Marrshal15 が 21 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
apache/infrastructure-asfquart#126 · コメント 1 件 ·
-
ASVS priority
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
apache/infrastructure-asfquart#85 · コメント 1 件 ·
-
Triage and track asfquart issues対応中かも @sbp が 20 日前に担当しました。 オープン
apache/infrastructure-asfquart#134 · 担当者 1 名 ·
apache/infrastructure-asfquart の issue をすべて見る
似ている issue
-
README.zh-CN/ja/es still hard-code 501 test counts after README.md went count-free対応中かも @Aaqibhafeezkhan が今日担当しました。 オープンbeginner documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
BistaDinesh03/critique#164 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug IO
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MrNeRF/LichtFeld-Studio#3824 ·
メンテナーはふだん 1 日以内に返信
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
open-webui/open-webui#33200 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog check対応中かも @ocelotl が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
open-telemetry/opentelemetry-python#5825 ·
メンテナーはふだん 2 日以内に返信