Vulnerability in sudo - security update

sudo Updated 02 Oct 2025

Summary

03/07/2017
N/A
Yes i
Unrated
Not published

DLA-1011-1: sudo - security update. Affects sudo versions < 1.8.5p2-1+nmu3+deb7u4. Fixed in 1.8.5p2-1+nmu3+deb7u4. 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

The sudo package is a widely used command-line utility that allows users to run programs with the security privileges of another user, typically the superuser. It is commonly found in Unix-like operating systems, including Debian 7 (Wheezy). The vulnerability in sudo version 1.8.20p1 and earlier allows for input validation bypass in the get_process_ttyname() function, leading to information disclosure and potential command execution.

Vulnerability Detail

The vulnerability arises from a lack of proper input validation in the get_process_ttyname() function of sudo. This allows an attacker to inject newlines into the input, bypassing security checks and potentially executing arbitrary commands. The impact of this vulnerability includes unauthorized access to sensitive information and the ability to execute commands with elevated privileges.

How To Fix

Minimum fixed version

1.8.5p2-1+nmu3+deb7u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade sudo

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

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade the sudo package to the fixed version.

Conclusion

The vulnerability in sudo version 1.8.20p1 and earlier allows for input validation bypass, leading to information disclosure and potential command execution. It is recommended to upgrade the sudo package to version 1.8.5p2-1+nmu3+deb7u4 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for sudo →

Share this vulnerability

FAQ

Sudo is a command-line utility that allows users to run programs with the security privileges of another user, typically the superuser.

The vulnerability allows for information disclosure and potential command execution, which can lead to unauthorized access to sensitive data and the ability to execute commands with elevated privileges.

The vulnerability affects sudo version 1.8.20p1 and earlier.

To fix this vulnerability, upgrade the sudo package to version 1.8.5p2-1+nmu3+deb7u4 or later using the package manager of the Debian 7 (Wheezy) system.

For more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, refer to the Debian LTS documentation.

Related vulnerabilities

Recent vulnerabilities recorded for sudo.

How To Fix

Minimum fixed version

1.8.5p2-1+nmu3+deb7u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade sudo

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