CVE-2021-3618: 
Go vulnerability analysis and mitigation

Overview

ALPACA (Application Layer Protocol Confusion - Analyzing and mitigating Cracks in tls Authentication) is a security vulnerability identified as CVE-2021-3618. The vulnerability exploits TLS servers implementing different protocols but using compatible certificates, such as multi-domain or wildcard certificates. A Man-in-the-Middle (MiTM) attacker with access to victim's traffic at the TCP/IP layer can redirect traffic from one subdomain to another, resulting in a valid TLS session (ALPACA Website, NVD).

Technical details

The vulnerability exists because TLS does not protect the source or destination IP and port address of the TCP connection, as TLS is designed to be application layer independent. This gap in protection allows attackers to redirect traffic between servers. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.4 (HIGH) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD).

Impact

The attack breaks the authentication of TLS and enables cross-protocol attacks where the behavior of one protocol service may compromise another at the application layer. In web-based scenarios, attackers can potentially extract session cookies and other private user data or execute arbitrary JavaScript in the context of the vulnerable web server (ALPACA Website).

Exploitability

The attack requires a MiTM attacker who can intercept and divert the victim's traffic at the TCP/IP layer, making it most plausible in local network scenarios. The vulnerability is particularly exploitable when organizations host several TLS-enabled application servers on the same hostname, use multi-domain certificates, or use wildcard certificates (Red Hat Bugzilla).

Mitigation and workarounds

Several vendors have released fixes for this vulnerability. Vsftpd 3.0.4 implemented countermeasures at both application and TLS layers. Nginx 1.21.0 implemented mitigations at the application layer in the mail proxy. Sendmail 8.17 added detection for HTTP requests when STARTTLS is used and implemented additional countermeasures at the application layer (Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

nginx: 1.20.1-r1

Fixed

v3.18

nginx: 1.20.1-r1

Fixed

v3.19

nginx: 1.20.1-r1

Fixed

v3.20

nginx: 1.20.1-r1

Fixed

v3.21

nginx: 1.20.1-r1

Fixed

v3.22

nginx: 1.20.1-r1

Fixed

v3.23

nginx: 1.20.1-r1

Fixed

Arch Linux

Affected

rolling

nginx-mainline: 1.21.0-1

Fixed

Source: This report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97032HIGH7.5
  • Go logoGo
  • gitlab-kas-19.2
NoYesOct 08, 2026
CVE-2026-97031HIGH7.5
  • Go logoGo
  • terraform-fips-1.13
NoYesOct 08, 2026
CVE-2026-111943MEDIUM6.8
  • Go logoGo
  • buildkitd
NoYesOct 21, 2026
CVE-2026-97030MEDIUM6.1
  • Go logoGo
  • wait-for-port
NoYesOct 08, 2026
CVE-2026-94448MEDIUM6.1
  • Go logoGo
  • buildah-tests
NoYesOct 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management