cve.bz

CVE-2021-3618 (ALPACA) Improper Certificate Validation

7.4 highEPSS 2.0%Fix available

Known as ALPACA

High (7.4). EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
ALPACA is an application layer protocol content confusion attack, exploiting TLS servers implementing different protocols but using compatible certificates, such as multi-domain or wildcard certificates. A MiTM attacker having access to victim's traffic at the TCP/IP layer can redirect traffic from one subdomain to another, resulting in a valid TLS session. This breaks the authentication of TLS and cross-protocol attacks may be possible where the behavior of one protocol service may compromise the other at the application layer.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3618 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3618?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3618?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3618 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
f5:nginxbefore 1.21.0
sendmail:sendmailbefore 8.17
vsftpd_project:vsftpdbefore 3.0.4
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10nginx1.14.2-2+deb10u5DLA-3203-1
Debian12vsftpdno fix listedDEBIAN-CVE-2021-3618
Debian12, 13, 14nginx1.20.2-2DEBIAN-CVE-2021-3618
Debian12, 13, 14sendmail8.16.1-2DEBIAN-CVE-2021-3618
Debian13, 14vsftpd3.0.5-0.1DEBIAN-CVE-2021-3618
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSvsftpd, sendmailno fix listedUBUNTU-CVE-2021-3618
Ubuntu18.04:LTSnginx1.14.0-0ubuntu1.10UBUNTU-CVE-2021-3618 USN-5371-1
Ubuntu20.04:LTSnginx1.18.0-0ubuntu1.3UBUNTU-CVE-2021-3618 USN-5371-1
Ubuntu20.04:LTSvsftpd3.0.5-0ubuntu0.20.04.1UBUNTU-CVE-2021-3618 USN-6379-1
Ubuntu20.04:LTS, 22.04:LTSsendmailno fix listedUBUNTU-CVE-2021-3618
Ubuntu22.04:LTSnginx1.18.0-6ubuntu14.1UBUNTU-CVE-2021-3618 USN-5371-2
UbuntuPro:14.04:LTSnginxno fix listedUBUNTU-CVE-2021-3618
UbuntuPro:16.04:LTSnginx1.10.3-0ubuntu0.16.04.5+esm3UBUNTU-CVE-2021-3618 USN-5371-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morevsftpd3.0.5-150000.7.19.1SUSE-SU-2022:3458-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 morenginx1.16.1-150100.6.16.1SUSE-SU-2022:4266-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 morevsftpd3.0.5-150200.12.9.1SUSE-SU-2022:3457-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morenginx1.16.1-150200.3.9.1SUSE-SU-2022:4265-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morenginx1.16.1-150000.3.18.1SUSE-SU-2022:4192-1
SUSELinux Enterprise Module for Server Applications 15 SP3nginx1.19.8-150300.3.9.1SUSE-SU-2022:4201-1
SUSELinux Enterprise Module for Server Applications 15 SP4vsftpd3.0.5-150400.3.3.1SUSE-SU-2022:3320-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5vsftpd3.0.5-47.7.1SUSE-SU-2022:3383-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5vsftpd3.0.5-48.3.1SUSE-RU-2022:0655-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5vsftpd3.0.5-51.1SUSE-SU-2022:3888-1
openSUSELeap 15.3vsftpd3.0.5-150200.12.9.1SUSE-SU-2022:3457-1
openSUSELeap 15.3, Leap 15.4nginx1.19.8-150300.3.9.1SUSE-SU-2022:4201-1
openSUSELeap 15.4vsftpd3.0.5-150400.3.3.1SUSE-SU-2022:3320-1
Alpinev3.14, v3.15, v3.16 and 8 morenginx1.20.1-r1ALPINE-CVE-2021-3618
Azure Linux2nginx1.20.2-2AZL-9188
Azure Linux2sendmailno fix listedAZL-9220
Azure Linux2vsftpd3.0.5-1AZL-9190

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Conditions required for the attack to work:

1. As per mentioned above you need a MiTM atack who can divert victim's traffic at the TCP/IP layer and therefore the only plausible attack model is on the local network.

2. If you are hosting several TLS-enabled application servers on the same hostname, or if you use multi-domain certificates, or if you use wild-card certificates, you may be vulnerable to the general confusion attack.

Red Hat's mitigation

1. Avoid wildcard certificates or multi-domain certificates if you are hosting several TLS-enabled application servers on the same hostname.

2. Two extensions in TLS can provide some protection to the application layer protocol: SNI and ALPN.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 1.2AnsibleAffected
Red Hat Ansible Tower 3nginxOut of support scope
Red Hat Enterprise Linux 6dovecotNot affected
Red Hat Enterprise Linux 6httpdNot affected
Red Hat Enterprise Linux 6postfixNot affected
Red Hat Enterprise Linux 6sendmailOut of support scope
Red Hat Enterprise Linux 6vsftpdOut of support scope
Red Hat Enterprise Linux 7dovecotNot affected
Red Hat Enterprise Linux 7httpdNot affected
Red Hat Enterprise Linux 7postfixNot affected
Red Hat Enterprise Linux 7sendmailOut of support scope
Red Hat Enterprise Linux 7vsftpdOut of support scope
Red Hat Enterprise Linux 8dovecotNot affected
Red Hat Enterprise Linux 8httpd:2.4/httpdNot affected
Red Hat Enterprise Linux 8nginx:1.16/nginxWill not fix
Red Hat Enterprise Linux 8nginx:1.18/nginxWill not fix
Red Hat Enterprise Linux 8nginx:1.20/nginxWill not fix
Red Hat Enterprise Linux 8postfixNot affected
Red Hat Enterprise Linux 8sendmailFix deferred
Red Hat Enterprise Linux 8vsftpdWill not fix
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3618.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON