CWE一覧に戻る
CWE-412

制限のない外部アクセス可能なロック

Unrestricted Externally Accessible Lock
脆弱性 作成中
JA

この製品はロックの存在を適切にチェックするが、ロックは外部から制御されたり、意図した制御範囲外の行為者によって影響を受けたりする可能性がある。

これによって、関連するリソースに作用したり、ロックの存在によって制御される他の動作を実行したりすることができなくなる。関連するロックには、排他ロックやミューテックス、ロックとして扱われる共有リソースの変更などがあります。ロックが無期限に保持される場合、サービス拒否は永続的になる可能性があります。

EN

The product properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of control.

This prevents the product from acting on associated resources or performing other behaviors that are controlled by the presence of the lock. Relevant locks might include an exclusive lock or mutex, or modifying a shared resource that is treated as a lock. If the lock can be held for an indefinite period of time, then the denial of service could be permanent.

Scope: Availability / Impact: DoS: Resource Consumption (Other)
Use any access control that is offered by the functionality that is offering the lock.
Use unpredictable names or identifiers for the locks. This might not always be possible or feasible.
Consider modifying your code to use non-blocking synchronization methods.
MITRE公式ページ — CWE-412