CWE一覧に戻る
CWE-607

パブリック・スタティック・ファイナル・フィールド・リファレンス・ミュータブル・オブジェクト

Public Static Final Field References Mutable Object
脆弱性 レビュー中
JA

publicまたはprotectedなstatic finalフィールドは、mutableなオブジェクトを参照します。これは、悪意のあるコードや、他のパッケージから誤ってオブジェクトを変更することを可能にします。

EN

A public or protected static final field references a mutable object, which allows the object to be changed by malicious code, or accidentally from another package.

Scope: Integrity / Impact: Modify Application Data
Protect mutable objects by making them private. Restrict access to the getter and setter as well.
MITRE公式ページ — CWE-607