kcve.ai취약점 정보 · 내 자산 확인

CVE-2022-1884 Remote Command Execution in gogs/gogs

설명

A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upload a file into the .git directory, allowing them to write or rewrite the `.git/config` file. If the `core.sshCommand` is set, this can lead to remote command execution.

영향 받는 제품 제품 1개

  • gogs

    gogs/gogs

    영향 받는 버전

    • 버전 정보 확인 필요

    해결 버전

    해결된 버전 정보가 없습니다.

패키지 기준 해결 버전 패키지 1개

  • Go · gogs.io/gogs

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 0.12.8 미만 · 해결 0.12.8 이상

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의