Denial of Service Vulnerability in Dovecot: CVE-2017-15130

dovecot Updated 02 Oct 2025

Summary

02/03/2018
N/A
Yes i
Medium
5.9

ALPINE-CVE-2017-15130: A denial of service flaw was found in dovecot before 2.2.34. Affects dovecot versions < 2.3.1-r0. Fixed in 2.3.1-r0. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Dovecot is an open-source IMAP and POP3 email server for Unix-like operating systems, designed to provide secure and efficient email retrieval. It is widely used due to its performance, flexibility, and ease of configuration. However, prior to version 2.2.34, Dovecot was susceptible to a denial of service vulnerability that could be exploited through TLS SNI configuration lookups, leading to excessive memory usage.

Vulnerability Detail

The vulnerability, identified as CVE-2017-15130, arises from improper handling of Server Name Indication (SNI) during TLS connections. An attacker can generate random SNI server names, which triggers excessive memory consumption in the Dovecot process. This can lead to a denial of service, causing the server to restart and disrupt email services. The vulnerability affects multiple versions of Dovecot across various Alpine Linux releases.

How To Fix

Minimum fixed version

2.3.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade dovecot

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

Workaround

As a temporary workaround, you can limit the number of SNI lookups or implement firewall rules to restrict access to the Dovecot service from untrusted sources. However, upgrading to the patched version is the recommended solution.

Conclusion

CVE-2017-15130 represents a significant denial of service vulnerability in Dovecot, affecting various versions across multiple Alpine Linux releases. It is crucial to update to the patched version to ensure the security and stability of your email services. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for dovecot →

Share this vulnerability

FAQ

CVE-2017-15130 is a denial of service vulnerability in Dovecot that can be exploited through TLS SNI configuration lookups, leading to excessive memory usage.

Versions of Dovecot prior to 2.2.34 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of CVE-2017-15130 is 5.9, indicating a moderate severity level.

If an immediate upgrade is not possible, consider implementing firewall rules to restrict access or limiting SNI lookups as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for dovecot.

How To Fix

Minimum fixed version

2.3.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade dovecot

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