devpi-webに認証なしでサーバー上のファイルを読まれる脆弱性
Summary
devpi-webの5.2.0より前の版には、認証なしでサーバー上のファイルを読み出せる脆弱性があります。+docのドキュメント経路でパスの検証が不十分なため、パスワードのハッシュを含むkeyfsのSQLiteデータベースまで読まれるおそれがあります。修正版の5.2.0で修正されているので、5.2.0以降へのアップデートを急いでください。
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.
devpi-webの5.2.0より前の版には、認証なしでサーバー上のファイルを読み出せる脆弱性があります。+docのドキュメント経路でパスの検証が不十分なため、パスワードのハッシュを含むkeyfsのSQLiteデータベースまで読まれるおそれがあります。修正版の5.2.0で修正されているので、5.2.0以降へのアップデートを急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| devpidevpi-web |
< 5.2.0→ 5.2.0 |
5.2.0 |
Original description The description as published by the source.
devpi-web before 5.2.0 contains an unauthenticated path traversal vulnerability in the +doc documentation route because docs_file_exists and docs_file_path in doczip.py never confine relpath to the documentation directory. Attackers can request a relpath with a leading // or percent-encoded .. segments to read server files, including the keyfs sqlite database holding password hashes.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package pypi.org
- package github.com
- patch github.com
- web github.com
- web pypi.org
- web github.com