| 标题 | DLR-RM stable-baselines3 v2.9.0 rce |
|---|
| 描述 | Three independent sinks unpickle user-supplied files with no gating parameter and no environment variable: (1) PPO.load — the zip's data member carries base64 ":serialized:" fields decoded by cloudpickle.loads (save_util.py:165); (2) load_replay_buffer — raw pickle.load (save_util.py:370); (3) VecNormalize.load — raw pickle.load (vec_normalize.py:320). Serialized RL artifacts (model zips, replay buffers, normalization stats) are commonly shared, making the file source attacker-controllable in practice. Note the contrast inside load_from_zip_file: PyTorch tensors are loaded with th.load(..., weights_only=True) (save_util.py:442) — the tensor path is hardened while the three pickle/cloudpickle paths stay open. custom_objects cannot help: it replaces dict entries after cloudpickle.loads has already executed; the other APIs take no comparable argument. |
|---|
| 来源 | ⚠️ https://github.com/DLR-RM/stable-baselines3/issues/2281 |
|---|
| 用户 | __lbz__ (UID 100868) |
|---|
| 提交 | 2026-08-29 08時02分 (22 日前) |
|---|
| 管理 | 2026-09-20 10時39分 (22 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 408021 [DLR-RM stable-baselines3 直到 2.9.0 save_util.py PPO.load/load_replay_buffer/VecNormalize.load 权限提升] |
|---|
| 积分 | 20 |
|---|