Skip to content
OpenAdvisories
Medium · 5.7 CVE-2015-1326 EUVD-2019-0112GHSA-74xw-82v7-hmrmPYSEC-2019-155

python-dbusmock arbitrary code execution or file overwrite when templates are loaded from /tmp

Published Apr 22, 2019 · Updated Sep 16, 2024 · Assigned by canonical

Description

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.

Affected products

VendorProductAffectedFixed
Ubuntu python-dbusmock unspecified – < 0.15.1 0.15.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-dbusmock 0.15.1-1 —
Debian 13 python-dbusmock 0.15.1-1 —
Debian 12 python-dbusmock 0.15.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-dbusmock 0.10.1-1ubuntu1 USN-2618-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-dbusmock < 0.15.1 0.15.1 GHSA-74xw-82v7-hmrm

Advisories 1

References