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.
CVE-2023-6395
“—” beside the score: it is equal to NVD's CVSS score.
Score 6.7 from GitHub Security Advisory (severity: MODERATE) published 2024-01-16. NVD baseline CVSS 6.7; sources differ by 0.0.
Also known asEUVD-2024-0284 (ENISA EUVD) · GHSA-7j98-74jh-cjxh (GitHub Security Advisories)Source: ENISA EUVD
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.7
- EG Score
- 6.7MEDIUMmedium confidence
- EG Risk
- 46EG Risk 46/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity67% × 45%Impact severity (EG Severity): CVSS 6.7 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation1.6% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 1.6%
- EPSS %ILE
- 75th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (6.7): severity, escalated by confirmed exploitation. This CVE's 6.7 is its impact severity (EG Severity), not escalated.
- EG Severity
- 6.7 MEDIUMCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- 1.6% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-31). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.
The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
January 16, 2024
Last Modified
November 21, 2024
Advisory Details (8)
Auto-updated Oct 24, 2026oss-security - Mock, Snap, LXC expose(d) chroot, container trees with unsafe permissions and contents to host users, pose risk to host
http://www.openwall.com/lists/oss-security/2024/01/16/3oss-security - CVE-2023-6395 Mock: Privilege escalation for users that can access mock configuration
http://www.openwall.com/lists/oss-security/2024/01/16/1[SECURITY] Fedora 39 Update: python-templated-dictionary-1.4-1.fc39 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBFYREAJH4T7GXXQZ4GJEREN4Q3AHS3K/[SECURITY] Fedora 38 Update: python-templated-dictionary-1.4-1.fc38 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/62SP2BJC2AFLFJJAEHPGZ3ZINTBTI7AN/commit bcd90f0dafa3 (xsuchy/templated-dictionary)
Patch available: xsuchy/templated-dictionary python-templated-dictionary-1.4-1 (contains commit bcd90f0dafa3)
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69commit 0740bd0ca8d4 (xsuchy/templated-dictionary)
Patch available: xsuchy/templated-dictionary python-templated-dictionary-1.4-1 (contains commit 0740bd0ca8d4)
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b89332252206 – (CVE-2023-6395) CVE-2023-6395 Mock: Privilege escalation for users that can access mock configuration
https://bugzilla.redhat.com/show_bug.cgi?id=2252206CVE-2023-6395 - Red Hat Customer Portal
Affected: Red Hat Enterprise Linux 7, 8 and 9 are not affected by this vulnerability as those versions doesn't ship the
https://access.redhat.com/security/cve/CVE-2023-6395Patch Availability(1)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| pip | templated_dictionary @ 1.4.1 (fixes < 1.4.1) | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| templated-dictionary | 1.0, 1.1, 1.2 |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 37× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 93 of 202 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 7 repeat rows among the latest 100 are merged into the row they repeat. The 109 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-01 16:31 UTCEPSS rescoreEPSS 1.6% · 75th percentile
- 2026-11-01 08:17 UTCGHSA enrichmentGHSA-7j98-74jh-cjxh · GitHub severity MODERATE · GitHub CVSS 6.7
- 2026-11-01 08:17 UTCEG score recompute
- 2026-10-31 16:30 UTCEPSS rescoreEPSS 1.6% · 75th percentile
- 2026-10-30 16:31 UTCEPSS rescoreEPSS 1.6% · 75th percentile
- 2026-10-29 16:30 UTCEPSS rescoreEPSS 1.6% · 75th percentile
- 2026-10-28 16:29 UTCEPSS rescoreEPSS 1.6% · 75th percentile
- 2026-10-27 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-26 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-25 17:26 UTCEG score recompute
- 2026-10-25 16:30 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-24 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-24 10:47 UTCEG score recompute
- 2026-10-23 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-22 16:31 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-21 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-20 16:30 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-19 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-18 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-18 07:38 UTCEG score recompute
- 2026-10-17 16:30 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-16 16:36 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-15 16:29 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-14 16:30 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-13 16:30 UTCEPSS rescoreEPSS 1.6% · 74th percentile
Show 68 moreShow fewer
- 2026-10-12 18:10 UTCEG score recompute
- 2026-10-12 16:31 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-12 05:24 UTCOSV refresh
- 2026-10-11 21:36 UTCEG score recompute
- 2026-10-11 13:45 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-10 19:58 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-09 20:05 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-08 17:06 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-07 23:46 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-06 15:15 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-05 17:41 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-04 23:20 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-03 14:23 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-10-01 19:48 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-30 16:39 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-29 15:17 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-28 13:49 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-26 00:22 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-24 14:01 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-23 13:46 UTCEPSS rescoreEPSS 1.6% · 74th percentile
- 2026-09-22 10:45 UTCOSV refresh
- 2026-09-20 20:14 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-18 19:26 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-16 14:06 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-16 05:11 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-15 03:08 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-13 16:45 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-12 14:58 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-11 14:51 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-11 09:34 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-08 21:58 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-07 15:59 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-06 13:46 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-05 15:26 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-04 13:58 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-04 05:04 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-03 07:59 UTCOSV refresh
- 2026-09-02 14:10 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-01 13:52 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-09-01 04:36 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-30 19:15 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-30 01:20 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-28 21:39 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-27 14:23 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-26 14:44 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-25 13:47 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-23 00:17 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-21 23:47 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-20 22:53 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-19 17:02 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-18 13:46 UTCEPSS rescoreEPSS 1.6% · 73rd percentile
- 2026-08-16 21:26 UTCOSV refresh
- 2026-08-16 14:54 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-16 02:12 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-15 01:28 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-13 21:58 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-12 13:49 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-11 13:40 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-10 23:58 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-09 13:44 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-08 16:35 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-07 16:25 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-06 13:45 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-05 19:15 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-04 10:36 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-03 10:34 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
- 2026-08-02 02:25 UTCEPSS rescoreEPSS 1.6% · 72nd percentile
Related CVEs(same CWE)
Same CWE
10 shownCWE-20 · CWE-94
Frequently asked(5)
What is CVE-2023-6395?
When was CVE-2023-6395 made public?
Is CVE-2023-6395 actively exploited?
What is the CVSS score of CVE-2023-6395?
How do I remediate CVE-2023-6395?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-6395
Is Your Infrastructure Affected by CVE-2023-6395?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.