lastversionに任意のファイルを書き込まれる脆弱性、攻撃者にコード実行される恐れ
Summary
lastversionの3.6.20より前のバージョンには、tarアーカイブ内のシンボリックリンクを使って展開先の外にファイルを書き込まれる脆弱性があります。細工されたリリース資産を取り込むと、usercustomize.pyのようなファイルが書き換えられ、コードを実行される恐れがあります。修正版の3.6.20が公開されているため、速やかに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
lastversionの3.6.20より前のバージョンには、tarアーカイブ内のシンボリックリンクを使って展開先の外にファイルを書き込まれる脆弱性があります。細工されたリリース資産を取り込むと、usercustomize.pyのようなファイルが書き換えられ、コードを実行される恐れがあります。修正版の3.6.20が公開されているため、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| dvershininlastversion |
< 3.6.20→ 3.6.20 |
3.6.20 |
Original description The description as published by the source.
lastversion before 3.6.20 contains a path traversal vulnerability in extract_tar() that allows attackers to write files outside the extraction directory via tar symlink members. Attackers controlling a project's release assets can craft a tarball with a symlink followed by a file beneath it, writing files like usercustomize.py to achieve code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com
- web github.com