CVE-2021-38161
Not validating origin TLS certificate
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used 8.1
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
CVE-2021-38161- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-287
- Updated
- 2026-11-02
CVE ListNo score
Not validating origin TLS certificate
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
CVE-2021-38161- Weakness
- CWE-287
- Updated
- 2026-11-02
EUVDEUVD-2021-24631No score
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
EUVD-2021-24631- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wp25-8fm6-33wm 8.1
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows...
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
GHSA-wp25-8fm6-33wm- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSV 8.1
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
CVE-2021-38161- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-38161 8.1
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
DEBIAN-CVE-2021-38161- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-38161 8.1
Improper Authentication vulnerability in TLS origin verification of Apache Traffic Server allows for man in the middle attacks. This issue affects Apache Traffic Server 8.0.0 to 8.0.8.
- Record
UBUNTU-CVE-2021-38161- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
trafficserverDebian:12 | before 9.1.0+ds-1 | 9.1.0+ds-1 |
trafficserverDebian:10 From an advisory covering 6 CVEs | before 8.0.2+ds-1+deb10u6, plus listed versions 8.0.2+ds-18.0.2+ds-1+deb10u18.0.2+ds-1+deb10u28.0.2+ds-1+deb10u38.0.2+ds-1+deb10u48.0.2+ds-1+deb10u5 | 8.0.2+ds-1+deb10u6 |
trafficserverDebian:11 From an advisory covering 6 CVEs | before 8.1.1+ds-1.1+deb11u1, plus listed versions 8.1.1+ds-1.1 | 8.1.1+ds-1.1+deb11u1 |
trafficserverUbuntu:16.04:LTS | All versions, plus listed versions 5.3.0-2ubuntu15.3.0-2ubuntu2 | None known |
trafficserverUbuntu:18.04:LTS | All versions, plus listed versions 7.0.0-57.1.2+ds-27.1.2+ds-2build17.1.2+ds-3 | None known |
trafficserverUbuntu:Pro:20.04:LTS | All versions, plus listed versions 8.0.5+ds-18.0.5+ds-28.0.5+ds-2build18.0.5+ds-2ubuntu18.0.5+ds-38.0.5+ds-3ubuntu0.1~esm1 | None known |
trafficserverUbuntu:Pro:22.04:LTS | All versions, plus listed versions 8.1.1+ds-1.19.1.1+ds-2build19.1.1+ds-2ubuntu0.1~esm19.1.1+ds-2ubuntu0.19.1.1+ds-2ubuntu0.1+esm1 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-38161 is a high vulnerability (CVSS 8.1) in Apache Traffic Server, published November 3, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.95%, the 80th percentile. Fixed in trafficserver 9.1.0+ds-1.
References
lists.apache.org/thread/k01797hyncx53659wr3o72s5cvkc3164
debian.org/security/2022/dsa-5153
nvd.nist.gov/vuln/detail/CVE-2021-38161
github.com/advisories/GHSA-wp25-8fm6-33wm
security-tracker.debian.org/tracker/CVE-2021-38161
ubuntu.com/security/CVE-2021-38161
openwall.com/lists/oss-security/2021/11/02/11
github.com/apache/trafficserver/commit/feefc5e4abc5011dfad5dcfef3f22998faf6e2d4
cve.org/CVERecord?id=CVE-2021-38161