Critical Vulnerability in Tinyproxy: Insecure PID File Permissions

tinyproxy Updated 03 Oct 2025

Summary

15/03/2021
N/A
Yes i
Unrated
Not published

USN-4808-1: tinyproxy vulnerability. Affects tinyproxy versions < 1.8.3-3ubuntu14.04.1~esm1. Fixed in 1.8.3-3ubuntu14.04.1~esm1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Tinyproxy is a lightweight HTTP/HTTPS proxy daemon designed to be fast and efficient. It is commonly used in various applications to facilitate web traffic management and filtering. The package is known for its simplicity and ease of configuration, making it a popular choice among developers. However, a vulnerability has been identified that affects its security, specifically related to the handling of process ID (PID) files.

Vulnerability Detail

The vulnerability arises from Tinyproxy creating its PID file with insecure permissions. This flaw allows an attacker to manipulate the PID file, potentially leading to the termination of arbitrary processes. Such an action can result in a denial of service, impacting the availability of services relying on Tinyproxy. The vulnerability is tracked under CVE-2017-11747 and has been addressed in subsequent package updates.

How To Fix

Minimum fixed version

1.8.3-3ubuntu14.04.1~esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tinyproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict access to the PID file by modifying its permissions manually. Use the following command to set secure permissions:

sudo chmod 600 /var/run/tinyproxy.pid

This will limit access to the PID file, reducing the risk of exploitation until the package can be updated.

Conclusion

The identified vulnerability in Tinyproxy poses a significant risk due to insecure PID file permissions, which can lead to denial of service. It is crucial for users to update to the patched versions provided for their respective Ubuntu distributions to mitigate this risk. Additionally, temporary workarounds can be applied to enhance security until updates are implemented.

See every vulnerability recorded for tinyproxy →

Share this vulnerability

FAQ

Tinyproxy is a lightweight HTTP/HTTPS proxy daemon that allows users to manage and filter web traffic efficiently.

The vulnerability involves insecure permissions on the PID file, which can be exploited to terminate processes, leading to denial of service.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to denial of service, affecting the availability of services that depend on Tinyproxy.

Ensure that you update Tinyproxy to the latest patched version and consider implementing additional security measures, such as restricting access to the PID file.

Related vulnerabilities

Recent vulnerabilities recorded for tinyproxy.

How To Fix

Minimum fixed version

1.8.3-3ubuntu14.04.1~esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tinyproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback