Vulnerability in pypickle (CVE-2025-5174)
Summary
vulnerability in pypickle (CVE-2025-5174). Successful exploitation can lead to full system takeover. Mitigation: upgrade to `14b4cae704a0bb4eb6723e238f25382d847a1917, 5058ea8c0666b3f8d30893be5c0132ad7fb7bf39, 2.0.0` or later.
AI summary snake-internal / snake-material-v2
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'pypickle' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `pypickle` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade pypickle to 14b4cae704a0bb4eb6723e238f25382d847a1917, 5058ea8c0666b3f8d30893be5c0132ad7fb7bf39, 2.0.0ステージング環境で 14b4cae704a0bb4eb6723e238f25382d847a1917, 5058ea8c0666b3f8d30893be5c0132ad7fb7bf39, 2.0.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
References
- advisory https://github.com/advisories/GHSA-5qwj-342r-h886
- patch https://github.com/erdogant/pypickle/commit/14b4cae704a0bb4eb6723e238f25382d847a1917
- report https://github.com/erdogant/pypickle/issues/2
- report https://github.com/erdogant/pypickle/issues/2#issuecomment-2889146579
- web https://vuldb.com/?ctiid.310262
- web https://vuldb.com/?id.310262
- web https://vuldb.com/?submit.579157
- web https://github.com/erdogant/pypickle/releases/tag/2.0.0