{"id":"CVE-2017-11747","aliases":["DEBIAN-CVE-2017-11747","DLA-2163-1","EUVD-2017-3357","GHSA-r3gc-6285-7fj7","UBUNTU-CVE-2017-11747","USN-4808-1","openSUSE-SU-2024:0119-1","openSUSE-SU-2024:11465-1"],"status":"published","title":"main.c in Tinyproxy 1.8.4 and earlier creates a /run/tinyproxy/tinyproxy.pid file after dropping...","description":"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.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00292,"percentile":0.21897,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269"],"published":"2017-07-30T16:00:00Z","modified":"2026-10-20T10:48:01Z","fixes":[{"ecosystem":"Debian:12","package":"tinyproxy","fixed_in":["1.10.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tinyproxy","fixed_in":["1.10.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tinyproxy","fixed_in":["1.10.0-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"tinyproxy","fixed_in":["1.8.3-3+deb8u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tinyproxy","fixed_in":["1.8.3-3ubuntu14.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tinyproxy","fixed_in":["1.8.3-3ubuntu16.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tinyproxy","fixed_in":["1.8.4-5ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"tinyproxy","fixed_in":["1.11.0-1.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.3-3+deb8u1"}]}],"versions":["1.8.3-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.3-3ubuntu14.04.1~esm1"}]}],"versions":["1.8.3-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.3-3ubuntu16.04.1~esm1"}]}],"versions":["1.8.3-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4-5ubuntu0.1~esm1"}]}],"versions":["1.8.4-2","1.8.4-3","1.8.4-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.3-3ubuntu14.04.1~esm1"}]}],"versions":["1.8.3-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.3-3ubuntu16.04.1~esm1"}]}],"versions":["1.8.3-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4-5ubuntu0.1~esm1"}]}],"versions":["1.8.4-2","1.8.4-3","1.8.4-5"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.2-bp155.3.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.2-bp155.3.3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"tinyproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.0-1.3"}]}]}],"products":[{"vendor":"tinyproxy_project","product":"tinyproxy"}],"references":[{"url":"https://github.com/tinyproxy/tinyproxy/issues/106","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/03/msg00037.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-11747"},{"url":"https://github.com/advisories/GHSA-r3gc-6285-7fj7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-11747","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-11747","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4808-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-11747","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/OM62U7F2OTTTTR4PTM6RV3UAOCUHRC75/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1200028","tags":["report"]},{"url":"https://bugzilla.suse.com/1203553","tags":["report"]},{"url":"https://bugzilla.suse.com/1223743","tags":["report"]},{"url":"https://bugzilla.suse.com/1223746","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2012-3505","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11747","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40468","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-40533","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-49606","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2017-11747","description":"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.","status":"published","published":"2017-07-30T16:00:00Z","modified":"2024-08-05T18:19:38.909Z","updated_at":"2026-11-02T14:33:20.171335Z"}],"euvd":[{"id":"EUVD-2017-3357","description":"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.","status":"published","published":"2017-07-30T16:00:00Z","modified":"2024-08-05T18:19:38Z","updated_at":"2026-11-03T02:23:22.6605Z"}],"ghsa":[{"id":"GHSA-r3gc-6285-7fj7","title":"main.c in Tinyproxy 1.8.4 and earlier creates a /run/tinyproxy/tinyproxy.pid file after dropping...","description":"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.","status":"published","published":"2022-05-13T01:27:31Z","modified":"2023-02-01T05:07:34Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:50:33.974767Z"}],"nvd":[{"id":"CVE-2017-11747","description":"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.","status":"published","published":"2017-07-30T16:29:00.25Z","modified":"2026-06-17T01:02:18.11Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:03:54.862898Z"}],"osv":[{"id":"CVE-2017-11747","description":"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.","status":"published","published":"2017-07-30T16:29:00.25Z","modified":"2026-10-20T10:48:01.664808511Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"DEBIAN-CVE-2017-11747","description":"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.","status":"published","published":"2017-07-30T16:29:00.25Z","modified":"2026-09-01T20:03:41.748117889Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.50097Z"},{"id":"UBUNTU-CVE-2017-11747","description":"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.","status":"published","published":"2017-07-30T16:29:00Z","modified":"2026-02-04T04:24:28.868838Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"DLA-2163-1","title":"tinyproxy - security update","status":"published","published":"2020-03-31T00:00:00Z","modified":"2026-03-09T01:23:19.873812Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"openSUSE-SU-2024:0119-1","title":"Security update for tinyproxy","description":"This update for tinyproxy fixes the following issues:\n\n- Update to release 1.11.2\n  * Fix potential use-after-free in header handling [CVE-2023-49606, boo#1223746]\n  * Prevent junk from showing up in error page in invalid requests [CVE-2022-40468, CVE-2023-40533, boo#1223743]\n\n- Move tinyproxy program to /usr/bin.\n\n- Update to release 1.11.1\n  * New fnmatch based filtertype\n\n- Update to release 1.11\n  * Support for multiple bind directives.\n\n- update to 1.10.0:\n  * Configuration file has moved from /etc/tinyproxy.conf to\n    /etc/tinyproxy/tinyproxy.conf.\n  * Add support for basic HTTP authentication\n  * Add socks upstream support\n  * Log to stdout if no logfile is specified\n  * Activate reverse proxy by default\n  * Support bind with transparent mode\n  * Allow multiple listen statements in the configuration\n  * Fix CVE-2017-11747: Create PID file before dropping privileges.\n  * Fix CVE-2012-3505: algorithmic complexity DoS in hashmap\n  * Bugfixes\n  * BB#110: fix algorithmic complexity DoS in hashmap\n  * BB#106: fix CONNECT requests with IPv6 literal addresses as host\n  * BB#116: fix invalid free for GET requests to ipv6 literal address\n  * BB#115: Drop supplementary groups\n  * BB#109: Fix crash (infinite loop) when writing to log file fails\n  * BB#74: Create log and pid files after we drop privs\n  * BB#83: Use output of id instead of $USER\n","status":"published","published":"2024-05-10T12:42:27Z","modified":"2026-02-04T03:33:29.462336Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"openSUSE-SU-2024:11465-1","title":"tinyproxy-1.11.0-1.3 on GA media","description":"These are all security issues fixed in the tinyproxy-1.11.0-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:33:49.608975Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"USN-4808-1","title":"tinyproxy vulnerability","description":"It was discovered that Tinyproxy created its pid file with insecure\npermissions. An attacker could use the vulnerability to cause arbitrary\nprocesses to be killed, resulting in a denial of service.","status":"published","published":"2021-03-15T21:40:02Z","modified":"2026-06-29T13:48:27.906259693Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
