We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/voyagegroup/ingred-ui/security/dependabot/187
この脆弱性を放置すると、非常に古いバージョンのrollup(0.63.5)を使用している部分でDOM Clobberingを介したXSS攻撃が可能になる。特に型定義パッケージ(@types/rollup-plugin-peer-deps-external)経由で導入されている古いバージョンが問題を引き起こしている。
rollup 2.79.2未満のバージョン(この場合は特に古い0.63.5)に存在するDOM Clobbering脆弱性が検出された。この問題は@types/rollup-plugin-peer-deps-external 2.2.1を通じてプロジェクトに導入されている。この脆弱性により、document.currentScriptの参照を攻撃者がHTML要素で乗っ取ることが可能になり、XSS攻撃のリスクが発生する。
型定義パッケージの依存関係解決:
古いバージョンの排除:
セキュリティ対策の強化:
型定義パッケージの更新:
# 最新バージョンの確認 npm view @types/rollup-plugin-peer-deps-external versions # 必要に応じて更新 yarn add @types/rollup-plugin-peer-deps-external@latest --dev
yarn.lockファイルへの解決策追加:
# package.json に追加 "resolutions": { "rollup": "^2.79.2" }
依存関係の再インストール:
yarn install
古いバージョンが確実に排除されたことの確認:
yarn why rollup
型定義パッケージの使用を見直し:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Legacy Rollup DOM Clobbering vulnerability #187
対象アラート
https://github.com/voyagegroup/ingred-ui/security/dependabot/187
引き起こされている問題
この脆弱性を放置すると、非常に古いバージョンのrollup(0.63.5)を使用している部分でDOM Clobberingを介したXSS攻撃が可能になる。特に型定義パッケージ(@types/rollup-plugin-peer-deps-external)経由で導入されている古いバージョンが問題を引き起こしている。
概要
rollup 2.79.2未満のバージョン(この場合は特に古い0.63.5)に存在するDOM Clobbering脆弱性が検出された。この問題は@types/rollup-plugin-peer-deps-external 2.2.1を通じてプロジェクトに導入されている。この脆弱性により、document.currentScriptの参照を攻撃者がHTML要素で乗っ取ることが可能になり、XSS攻撃のリスクが発生する。
やるべきこと
型定義パッケージの依存関係解決:
古いバージョンの排除:
セキュリティ対策の強化:
やるべきことに対して実際に実施する詳細(簡単に)
型定義パッケージの更新:
yarn.lockファイルへの解決策追加:
依存関係の再インストール:
古いバージョンが確実に排除されたことの確認:
型定義パッケージの使用を見直し:
The text was updated successfully, but these errors were encountered: