Cloudanix VulnDB

CVE-2021-46853

Medium · 5.9

CVSS

5.9

EPSS

0.9%

Published

Nov 3, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

An old email program can be made to crash remotely by sending certain commands before the connection is encrypted, briefly interrupting email access.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits an unauthenticated remote attacker to trigger an application crash in Alpine by issuing LIST or LSUB IMAP commands prior to STARTTLS negotiation, resulting in denial of service with no impact on confidentiality or integrity.

Why it matters to the business

Organizations relying on Alpine for email access may experience unexpected service interruptions and application restarts, leading to temporary loss of email functionality until the process recovers.

How an attack unfolds

An attacker connects to an Alpine-based IMAP service and sends LIST or LSUB commands before the STARTTLS handshake completes; the server fails to handle the pre-encryption state correctly and crashes.

How to fix it

Upgrade Alpine to version 2.25 or later; if immediate upgrade is not feasible, restrict network access to the IMAP service or enforce STARTTLS at the network layer.

How to confirm the fix worked

Confirm the installed Alpine version is 2.25 or higher; test by attempting LIST or LSUB before STARTTLS and verify the process no longer crashes.

Typical attack path

  1. Establish TCP connection to the Alpine IMAP listener
  2. Send LIST or LSUB command without first issuing STARTTLS
  3. Observe application crash and service unavailability
  4. Repeat as needed to maintain denial of service

How to detect it

Review application and system logs for unexpected Alpine process terminations occurring shortly after inbound IMAP connections; correlate with network captures showing LIST or LSUB commands issued prior to TLS negotiation.

What your security team should do

  • Prioritize upgrade to Alpine 2.25+ across all deployments
  • Monitor for application crashes correlated with IMAP traffic
  • Apply network-level controls to enforce encryption before command processing if patching is delayed

The record

Alpine before 2.25 allows remote attackers to cause a denial of service (application crash) when LIST or LSUB is sent before STARTTLS.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 alpine 0 No fix
Debian:12 alpine 0 2.25+dfsg1-1
Debian:13 alpine 0 2.25+dfsg1-1
Debian:14 alpine 0 2.25+dfsg1-1
Ubuntu:20.04:LTS alpine 0 No fix
Ubuntu:22.04:LTS alpine 0 2.25+dfsg1-1build1
Ubuntu:Pro:16.04:LTS alpine 0 2.20+dfsg1-2ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTS alpine 0 No fix
Ubuntu:Pro:18.04:LTS alpine 0 2.21+dfsg1-1ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTS alpine 0 2.22+dfsg1-1ubuntu0.1~esm1