🔍 CVE-2023-33979

6.5
CVSS Score
MEDIUM
2023-05-31
2026-06-17 06:02
✅ 완료

🇰🇷 한글 설명

gpt_academic 3.37 및 이전 버전의 Configuration File Handler 구성 요소에서 정보 노출 취약점이 발견되었습니다. 공격자가 인자 파일을 조작하여 /file 경로를 통해 작업 디렉토리 내의 민감한 파일을 읽을 수 있습니다. 이는 config.py, config_private.py, Dockerfile을 사용하여 파일을 구성하는 사용자에게 영향을 미칩니다.

💡 쉬운 설명

프로그램의 설정 파일을 다루는 과정에서 보안 허점이 있어, 공격자가 서버에 저장된 중요한 개인 정보나 설정 파일을 몰래 훔쳐볼 수 있는 문제입니다. 설정 파일에 비밀번호 같은 민감한 정보가 들어있을 경우 위험할 수 있습니다.

🇺🇸 원문 (English)

gpt_academic provides a graphical interface for ChatGPT/GLM. A vulnerability was found in gpt_academic 3.37 and prior. This issue affects some unknown processing of the component Configuration File Handler. The manipulation of the argument file leads to information disclosure. Since no sensitive files are configured to be off-limits, sensitive information files in some working directories can be read through the `/file` route, leading to sensitive information leakage. This affects users that uses file configurations via `config.py`, `config_private.py`, `Dockerfile`. A patch is available at commit 1dcc2873d2168ad2d3d70afcb453ac1695fbdf02. As a workaround, one may use environment variables instead of `config*.py` files to configure this project, or use docker-compose installation to configure this project.

📍 영향받는 시스템

gpt_academic 3.37 및 그 이전 버전

⚔️ 공격 벡터

/file 경로를 통한 인자 파일 조작 및 민감한 파일 접근

🛡️ 대응 방법

커밋 1dcc2873d2168ad2d3d70afcb453ac1695fbdf02를 적용하거나, 설정 시 파일 대신 환경 변수 또는 docker-compose를 사용하십시오.

🔧 검증 코드

명령어 결과로 해당 커밋 해시값이 출력되면 패치가 적용된 상태이며, 아무것도 출력되지 않으면 취약한 상태입니다.

Shell / Script
git log -1 --format=%H | grep -E '1dcc2873d2168ad2d3d70afcb453ac1695fbdf02'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

Docker