{"id":"CVE-2015-1326","published":"2019-04-22T15:35:59Z","modified":"2024-09-16T23:46:40Z","title":"python-dbusmock arbitrary code execution or file overwrite when templates are loaded from /tmp","vendor":"Ubuntu","product":"python-dbusmock","tier":"tail","description":{"text":"python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01824,"percentile":0.79325,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/martinpitt/python-dbusmock/commit/4e7d0df9093","tags":["x_refsource_MISC"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":15.87},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"ubuntu","affectedVersions":[{"vendor":"Ubuntu","product":"python-dbusmock","versions":[">= unspecified, < 0.15.1"]}],"affected":[{"ecosystem":"PyPI","package":"python-dbusmock","vulnerableRanges":["<0.15.1"],"patched":["0.15.1"],"from":["GHSA-74xw-82v7-hmrm","PYSEC-2019-155"],"provenance":"source"}],"summary":{"text":"The python-dbusmock library, as packaged by Ubuntu, has a flaw in its AddTemplate() D-Bus method and its DBusTestCase.spawn_server_template() method, which can be tricked into running malicious code when a crafted .pyc file is supplied. An attacker who can get such a file loaded through these paths can execute code or overwrite files, and exploitation requires local access with low privileges plus user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:04Z"},"euvd":{"id":"EUVD-2019-0112","exploited":false,"provenance":"source"}}