개요
이 취약점이 무엇인지
The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials added for an https:// URL were also used for requests to the same host over http://, so an attacker able to redirect or downgrade a client to plain HTTP (for example, via an HTTPS-to-HTTP redirect or an on-path position) could capture credentials in cleartext. Credentials added for http:// URLs could likewise be sent over https://.
Credential matching is now scoped by URL scheme. Credentials registered with a URL that includes a scheme are only used for requests with the same scheme. Credentials registered with a bare authority (such as example.com or example.com:8080) continue to match any scheme, preserving compatibility with existing code, including proxy authentication.
Users who cannot upgrade immediately can mitigate by ensuring that applications never make plain http:// requests to hosts for which credentials are registered, for example by not following redirects to http:// URLs.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| CPythonPython Software Foundation | 최초 버전 | ≤ | 취약 | < | 3.10.22 | 3.10.22이상 |
| 3.11.0 | ≤ | 취약 | < | 3.11.17 | 3.11.17이상 | |
| 3.12.0 | ≤ | 취약 | < | 3.12.15 | 3.12.15이상 | |
| 3.13.0 | ≤ | 취약 | < | 3.13.16 | 3.13.16이상 | |
| 3.14.0 | ≤ | 취약 | < | 3.14.8 | 3.14.8이상 | |
| 3.15.0a1 | ≤ | 취약 | < | 3.15.0rc2 | 3.15.0rc2이상 | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타12
- github.com/python/cpython/commit/641be42bb07921ba0f8bffe228b1dc706b092ef6
- github.com/python/cpython/commit/851cf9a7142ecbdd39f831055533f58284ad2bcc
- github.com/python/cpython/commit/95355ee3a8e1d3c3d4858d1973aa42a9b91a2801
- github.com/python/cpython/commit/a0d023fbd23773e24b35d8368789470e22cda5d8
- github.com/python/cpython/commit/a2773a34183b7d94a243bb98fd658926cc5348ce
7개 더 보기
- github.com/python/cpython/commit/a7bb524fef61f77ede01f660ffbd591e1d5837ce
- github.com/python/cpython/commit/dac88d8615078c55f1304ea4c7a2d822700d4e5a
- github.com/python/cpython/issues/155694
- github.com/python/cpython/pull/155696
- mail.python.org/archives/list/[email protected]/thread/3OKPE5S75KDNA7FY7AI3PL2MXM2X5RB3/
- openwall.com/lists/oss-security/2026/08/18/3
- cert-portal.siemens.com/productcert/html/ssa-457936.html