PraisonAI Dynamic Context тарих және терминал құралдары path traversal арқылы конфигурацияланған сақтау орнынан тыс файлдарды оқиды
Қысқаша
PraisonAI, көп агентті командалар жүйесі, өзінің Dynamic Context тарихы және terminal-log құралдары арқылы әсер етеді, бұл төмен сенімді пайдаланушыға немесе промптқа хост файлдық жүйесіндегі белгіленген сақтау каталогынан тыс ерікті .jsonl және .log файлдарын оқуға мүмкіндік береді. Бұл конфигурацияланған контекст сақтау орнымен шектелуі тиіс ықтимал құпия деректердің жария болуына әкеледі.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқалар: 4.6.59
Зардап шегетін нұсқалар
| PraisonAI | бастап 3.8.1 → түзетілді 4.6.59 |
| praisonaiPyPI | бастап 3.8.1 → түзетілді 4.6.59 |
| praisonaiPyPI | бастап 3.8.1 → түзетілді 4.6.59 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: PraisonAI Dynamic Context history and terminal tools read files outside configured storage via path traversal
PraisonAI is a multi-agent teams system. From version 3.8.1 to before version 4.6.59, PraisonAI's Dynamic Context module provides filesystem-backed history and terminal-log storage. The module also exports agent-callable tool factories. Those tools accept run_id and agent_id arguments from the tool caller. The underlying stores join those values into filesystem paths without rejecting absolute paths or .. traversal. Because run_id can be an absolute path and agent_id can contain traversal, a lower-trust prompt/user that can call these tools can read .jsonl and .log files outside the configured Dynamic Context base directory. This issue has been patched in version 4.6.59.