CVE-2023-6395
criticalPriorität · verfolgen · 40EPSS 0.016 · 75. PerzentilEURUUSEPSS · bewertet 2026-10-27
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.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–critical · 6.7–9.8
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (10)
Betroffene Produkte und Versionsbereiche.
- fedoraproject extra packages for enterprise linux= 7.0nvdUScpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:*:*:*:*:*:*:*:*
- fedoraproject extra packages for enterprise linux= 8.0nvdUScpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:*:*:*:*:*:*:*:*
- fedoraproject extra packages for enterprise linux= 9.0nvdUScpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:*:*:*:*:*:*:*:*
- rpm-software-management mockalle VersionennvdUScpe:2.3:a:rpm-software-management:mock:*:*:*:*:*:*:*:*
Advisories (2)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-7j98-74jh-cjxhPrivilege escalation for users that can access mock configuration2024-01-16ghsa · osvUS
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.
- PYSEC-2026-1949Privilege escalation for users that can access mock configuration2026-07-07vendor · osvUS
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.
auch bekannt als (7)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (25)
Externe Belege — Patches, Meldungen, Analysen.
- http://www.openwall.com/lists/oss-security/2024/01/16/1cnnvd
- http://www.openwall.com/lists/oss-security/2024/01/16/3cnnvd
- https://access.redhat.com/security/cve/CVE-2023-6395cnnvd
- https://access.redhat.com/security/cve/cve-2023-6395cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2252206cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-6395/cnnvd
- https://github.com/rpm-software-management/mock/releases/tag/mock-5.4-1Patchcnnvd
- https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933cnnvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan