製品・ソフトウェアに関する情報
perlcritic などで使用される perltidy における任意のファイルを上書きされる脆弱性
Title perlcritic などで使用される perltidy における任意のファイルを上書きされる脆弱性
Summary

perlcritic、check-all-the-things、およびその他のソフトウェアで使用される perltidy は、特定の出力ファイルがカレントワーキングディレクトリに依存し、シンボリックリンク攻撃保護メカニズムを持たないため、任意のファイルを上書きされる脆弱性が存在します。

Possible impacts ローカルユーザにより、被害者が削除できない perltidy.ERR シンボリックリンクを作成されることで、任意のファイルを上書きされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 13, 2016, midnight
Registration Date June 21, 2017, 11:31 a.m.
Last Update June 21, 2017, 11:31 a.m.
CVSS3.0 : 警告
Score 5.5
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS2.0 : 注意
Score 2.1
Vector AV:L/AC:L/Au:N/C:N/I:P/A:N
Affected System
Perltidy project
Perltidy 20160302 まで
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2017年06月21日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2016-10374
Summary

perltidy through 20160302, as used by perlcritic, check-all-the-things, and other software, relies on the current working directory for certain output files and does not have a symlink-attack protection mechanism, which allows local users to overwrite arbitrary files by creating a symlink, as demonstrated by creating a perltidy.ERR symlink that the victim cannot delete.

Publication Date May 18, 2017, 4:29 a.m.
Registration Date Jan. 26, 2021, 2:05 p.m.
Last Update Nov. 21, 2024, 11:43 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:perltidy_project:perltidy:*:*:*:*:*:*:*:* 2016-03-02
Related information, measures and tools
Common Vulnerabilities List