Urgent: CVE-2025–47273 Exposes Python SetupTools — Here’s How to Stay Secure
在一个宁静的小镇早晨,作者尝试使用Python Flask开发AI产品时发现高危漏洞CVE-2025–47273。该漏洞源于旧版setup tools(65.5.1)中的路径遍历问题,允许攻击者在系统中任意位置保存文件并可能执行恶意代码。升级到78.1.1版本可修复此问题。 2025-6-12 06:13:51 Author: infosecwriteups.com(查看原文) 阅读量:22 收藏

M Sadewa Wicaksana

On a bright of morning in a small town, the sound of birds concert in the air. The cool of the wind also increase this atmosphere more comfort for this cozy day.

When I tried to up rollout my first product AI using python flask to summary a long text into executive report on the first time. I found out an issues that, there is a vulnerability found which had a high score levels. That vulnerability is happened on setup tools. I tried to find what is actually an setup tools?,

pythons hacked

In simple terms is a python library that helps you package and distribute python projects. With this tools, the python projects can define’s the metadata, manage dependencies, and create installable packages.

Maybe you ever run pip install that will install packages locally?, that is can be done with this setup tools. So, this library is an crucial tools to build a python projects can work properly and fine.

CVE-2025–47273 with the title is Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’) published on 17 May 2025 and modified 28 May 2025. The impact of this vulnerability is an attacker could save files anywhere on the system using the same access level as the python program. With that conditions might even let them run malicious code remotely, depending on the situations.

The root cause of that error is because the official docker image is still using the old setup tools versions that is 65.5.1. and to solve this problems we need to upgrade it into version 78.1.1.


文章来源: https://infosecwriteups.com/urgent-cve-2025-47273-exposes-python-setuptools-heres-how-to-stay-secure-843a183a02dc?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh