| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| yiisoft/yii2 | < 2.0.38 | 2.0.38 |
| yii | < 2.0.38 | 2.0.38 |
Remote code execution in case application calls unserialize() on user input containing specially crafted string.
2.0.38
Add the following to BatchQueryResult.php:
public function __sleep()
{
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}
public function __wakeup()
{
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
}
If you have any questions or comments about this advisory, contact us through security form.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí