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

CVE-2023-6395 Mock: privilege escalation for users that can access mock configuration

설명

The Mock software contains a vulnerability wherein an attacker could potentially exploit privilege escalation, enabling the execution of arbitrary code with root user privileges. This weakness stems from the absence of proper sandboxing during the expansion and execution of Jinja2 templates, which may be included in certain configuration parameters. While the Mock documentation advises treating users added to the mock group as privileged, certain build systems invoking mock on behalf of users might inadvertently permit less privileged users to define configuration tags. These tags could then be passed as parameters to mock during execution, potentially leading to the utilization of Jinja2 templates for remote privilege escalation and the execution of arbitrary code as the root user on the build server.

영향 받는 제품 제품 2개

  • fedoraproject

    extra packages for enterprise linux

    NVD 기준

    영향 받는 버전

    • 7.0
    • 8.0
    • 9.0

    해결 버전

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

  • fedoraproject

    fedora

    NVD 기준

    영향 받는 버전

    • 38
    • 39

    해결 버전

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

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

  • PyPI · templated-dictionary

    해결 버전 있음

    영향 받는 버전 · 해결 버전

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

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의