| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| angular-expressions | < 1.1.2 | 1.1.2 |
| angular-expressions | < 1.1.2 | 1.1.2 |
The vulnerability, reported by GoSecure Inc, allows Remote Code Execution, if you call expressions.compile(userControlledInput) where userControlledInput is text that comes from user input.
This time, the security of the package could be bypassed by using a more complex payload, using a .constructor.constructor technique.
Users should upgrade to version 1.1.2 of angular-expressions
A temporary workaround might be either to :
OR
if (/^[|a-zA-Z.0-9 :"'+-?]+$/.test(userControlledInput)) {
var result = expressions.compile(userControlledInput);
}
else {
result = undefined;
}
Removal of angular-expression sandbox
If you have any questions or comments about this advisory:
The issue was reported by Maxime Nadeau from GoSecure, Inc.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン