Execution with Unnecessary Privileges Affecting tinyproxy/tinyproxy package, versions [,1.10.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (23rd 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-UNMANAGED-TINYPROXYTINYPROXY-2365079
  • published26 Jan 2022
  • disclosed30 Jul 2017
  • creditUnknown

Introduced: 30 Jul 2017

CVE-2017-11747  (opens in a new tab)
CWE-250  (opens in a new tab)

How to fix?

Upgrade tinyproxy/tinyproxy to version 1.10.0 or higher.

Overview

Affected versions of this package are vulnerable to Execution with Unnecessary Privileges main.c in Tinyproxy 1.8.4 and earlier creates a /run/tinyproxy/tinyproxy.pid file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for tinyproxy.pid modification before a root script executes a "kill cat /run/tinyproxy/tinyproxy.pid" command.

References

CVSS Base Scores

version 3.1