Security Update for cgiemail

cgiemail Updated 02 Oct 2025

Summary

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

DLA-869-1: cgiemail - security update. Affects cgiemail versions < 1.6-37+deb7u1. Fixed in 1.6-37+deb7u1. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

cgiemail is a CGI program used to create HTML forms for sending mails. It is commonly used in web applications to handle form submissions and generate emails based on user input. However, several security vulnerabilities have been discovered in cgiemail, which could potentially be exploited by attackers.

Vulnerability Detail

The vulnerabilities in cgiemail include:

  • CVE-2017-5613: A format string injection vulnerability that allows an attacker to supply arbitrary format strings to cgiemail and cgiecho. This could be used by a local attacker with permissions to provide a cgiemail template to execute code as the webserver user.

  • CVE-2017-5614: An open redirect vulnerability in cgiemail and cgiecho binaries that could be exploited by a local attacker to force a redirect to an arbitrary URL. The redirects are now limited to the domain that handled the request.

  • CVE-2017-5615: A vulnerability in cgiemail and cgiecho binaries that allowed injection of additional HTTP headers. Newline characters are now stripped from the redirect location to protect against this.

  • CVE-2017-5616: A reflected cross-site scripting (XSS) vulnerability in cgiemail and cgiecho binaries due to missing escaping of the addendum parameter. The output is now HTML escaped to prevent this vulnerability.

How To Fix

Minimum fixed version

1.6-37+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade cgiemail

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

Conclusion

In conclusion, cgiemail is affected by multiple security vulnerabilities that could be exploited by attackers. It is important to upgrade your cgiemail packages to the latest version to mitigate these vulnerabilities. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cgiemail →

Share this vulnerability

FAQ

cgiemail is a CGI program used to create HTML forms for sending mails. It is commonly used in web applications to handle form submissions and generate emails based on user input.

A format string injection vulnerability allows an attacker to supply arbitrary format strings to a program, which can lead to code execution or information disclosure. In the case of cgiemail, this vulnerability could be used by a local attacker with permissions to provide a cgiemail template to execute code as the webserver user.

An open redirect vulnerability allows an attacker to redirect a user to an arbitrary URL. In the case of cgiemail, this vulnerability could be exploited by a local attacker to force a redirect to an arbitrary URL. The fix for this vulnerability limits the redirects to the domain that handled the request.

A reflected cross-site scripting (XSS) vulnerability occurs when user input is not properly sanitized and is included in the output of a web application. This allows an attacker to inject malicious code that is executed by other users when they visit the affected page. The fix for this vulnerability in cgiemail involves HTML escaping the output to prevent the execution of injected scripts.

To upgrade your cgiemail packages, you can follow the standard package upgrade process for your operating system. This typically involves using package management tools like apt-get or yum to install the latest version of the package.

Related vulnerabilities

Recent vulnerabilities recorded for cgiemail.

How To Fix

Minimum fixed version

1.6-37+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade cgiemail

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