Race Condition Affecting backintime package, versions <1.1.2-2~build0.16.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.08% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-BACKINTIME-280881
  • published6 Apr 2017
  • disclosed6 Apr 2017

Introduced: 6 Apr 2017

CVE-2017-7572  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 backintime to version 1.1.2-2~build0.16.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream backintime package and not the backintime package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

The _checkPolkitPrivilege function in serviceHelper.py in Back In Time (aka backintime) 1.1.18 and earlier uses a deprecated polkit authorization method (unix-process) that is subject to a race condition (time of check, time of use). With this authorization method, the owner of a process requesting a polkit operation is checked by polkitd via /proc/<pid>/status, by which time the requesting process may have been replaced by a different process with the same PID that has different privileges then the original requester.