CVE-2021-38165
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers...
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
CVE-2021-38165- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - CVSS 2.0
- 2.6 Low
AV:N/AC:H/Au:N/C:P/I:N/A:N - Weakness
- CWE-522
- Updated
- 2026-11-02
CVE List No score
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
CVE-2021-38165- Updated
- 2026-11-02
EUVDEUVD-2021-24635 No score
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
EUVD-2021-24635- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-88f3-hp86-v36f No score
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers...
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
GHSA-88f3-hp86-v36f- Weakness
- CWE-522
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-38165
5.3
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
ALPINE-CVE-2021-38165- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSV
5.3
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
CVE-2021-38165- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2021-38165
5.3
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
DEBIAN-CVE-2021-38165- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVOESA-2021-1326
7.5
lynx security update
Lynx is a fully-featured World Wide Web (WWW) client for users running cursor-addressable, character-cell display devices such as vt100 terminals, vt100 emulators running on Windows 95/NT or Macintoshes, or any other character-cell display. It will display Hypertext Markup Language (HTML) documents containing links to files on the local system, as well as files on remote systems running http, gopher, ftp, wais, nntp, finger, or cso/ph/qi servers, and services accessible via logins to telnet, tn3270 or rlogin accounts. Current versions of Lynx run on Unix, VMS, Windows95 through Windows 8, 386DOS and OS/2 EMX.
Security Fix(es):
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.(CVE-2021-38165)
- Record
OESA-2021-1326- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVRHSA-2022:2129
5.3
Red Hat Security Advisory: lynx security update
- Record
RHSA-2022:2129- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVRLSA-2022:2129
5.3
Moderate: lynx security update
Lynx is a text-based Web browser. Lynx does not display any images, but it does support frames, tables, and most other HTML tags.
Security Fix(es):
- lynx: Disclosure of HTTP authentication credentials via SNI data (CVE-2021-38165)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.6 Release Notes linked from the References section.
- Record
RLSA-2022:2129- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-38165
5.3
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.
- Record
UBUNTU-CVE-2021-38165- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVALSA-2022:2129 No score
Moderate: lynx security update
Lynx is a text-based Web browser. Lynx does not display any images, but it does support frames, tables, and most other HTML tags.
Security Fix(es):
- lynx: Disclosure of HTTP authentication credentials via SNI data (CVE-2021-38165)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2022:2129- Updated
- 2026-11-02
OSVMGASA-2021-0422 No score
Updated lynx packages fix security vulnerability
Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data. (CVE-2021-38165)
- Record
MGASA-2021-0422- Updated
- 2026-11-02
OSVUSN-4800-1 No score
lynx vulnerabilities
It was discovered that Lynx incorrectly handled certain URLs. A remote attacker could possibly use this issue to obtain sensitive information or other unspecified impact. This issue only affected Ubuntu 16.04 ESM. (CVE-2016-9179)
It was discovered that Lynx incorrectly handled certain HTML files. A remote attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 16.04 ESM. (CVE-2017-1000211)
Thorsten Glaser discovered that Lynx mishandles the userinfo subcomponents of a URI. An attacker monitoring the network could discover cleartext credentials because they may appear in SNI data. (CVE-2021-38165)
- Record
USN-4800-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lynxAlpine:v3.15 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.16 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.17 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.18 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.19 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.20 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.21 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.22 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.23 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
lynxAlpine:v3.24 |
before 2.8.9_p1-r3 | 2.8.9_p1-r3 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
lynxAlmaLinux:8 |
before 2.8.9-4.el8 | 2.8.9-4.el8 |
lynxDebian:12 |
before 2.9.0dev.6-3 | 2.9.0dev.6-3 |
lynxDebian:13 |
before 2.9.0dev.6-3 | 2.9.0dev.6-3 |
lynxDebian:14 |
before 2.9.0dev.6-3 | 2.9.0dev.6-3 |
lynxDebian:9 |
before 2.8.9dev11-1+deb9u1, plus listed versions 2.8.9dev11-1 |
2.8.9dev11-1+deb9u1 |
lynxDebian:10 |
before 2.8.9rel.1-3+deb10u1, plus listed versions 2.8.9rel.1-3 |
2.8.9rel.1-3+deb10u1 |
lynxMageia:8 |
before 2.8.9-0.dev17.4.1.mga8 | 2.8.9-0.dev17.4.1.mga8 |
lynxopenEuler:20.03-LTS-SP1 |
before 2.8.9-6.oe1 | 2.8.9-6.oe1 |
lynxopenEuler:20.03-LTS-SP2 |
before 2.8.9-6.oe1 | 2.8.9-6.oe1 |
lynxRed Hat:enterprise_linux:8::crb |
before 0:2.8.9-4.el8 | 0:2.8.9-4.el8 |
lynx-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:2.8.9-4.el8 | 0:2.8.9-4.el8 |
lynx-debugsourceRed Hat:enterprise_linux:8::crb |
before 0:2.8.9-4.el8 | 0:2.8.9-4.el8 |
lynxRocky Linux:8 |
before 0:2.8.9-4.el8 | 0:2.8.9-4.el8 |
lynxUbuntu:Pro:16.04:LTS |
before 2.8.9dev8-4ubuntu1+esm2, plus listed versions 2.8.9dev8-4ubuntu12.8.9dev8-4ubuntu1+esm1 |
2.8.9dev8-4ubuntu1+esm2 |
lynxUbuntu:Pro:18.04:LTS |
before 2.8.9dev16-3ubuntu0.1~esm1, plus listed versions 2.8.9dev16-12.8.9dev16-22.8.9dev16-3 |
2.8.9dev16-3ubuntu0.1~esm1 |
lynxUbuntu:Pro:20.04:LTS |
before 2.9.0dev.5-1ubuntu0.1~esm1, plus listed versions 2.9.0dev.4-12.9.0dev.5-1 |
2.9.0dev.5-1ubuntu0.1~esm1 |
lynxUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 2.8.9dev8-4ubuntu1+esm2, plus listed versions 2.8.9dev8-4ubuntu12.8.9dev8-4ubuntu1+esm1 |
2.8.9dev8-4ubuntu1+esm2 |
lynxUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 2.8.9dev16-3ubuntu0.1~esm1, plus listed versions 2.8.9dev16-12.8.9dev16-22.8.9dev16-3 |
2.8.9dev16-3ubuntu0.1~esm1 |
lynxUbuntu:Pro:20.04:LTS From an advisory covering 3 CVEs |
before 2.9.0dev.5-1ubuntu0.1~esm1, plus listed versions 2.9.0dev.4-12.9.0dev.5-1 |
2.9.0dev.5-1ubuntu0.1~esm1 |
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-38165 is a medium vulnerability (CVSS 5.3) in Lynx Project Lynx, published March 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.94%, the 90th percentile. Fixed in lynx 2.8.9_p1-r3.
References
bugs.debian.org/991971
openwall.com/lists/oss-security/2021/08/07/1
lynx.invisible-island.net/current/CHANGES.html
github.com/w3c/libwww/blob/f010b4cc58d32f34b162f0084fe093f7097a61f0/Library/src/HTParse.c
openwall.com/lists/oss-security/2021/08/07/9
openwall.com/lists/oss-security/2021/08/07/11
Show 33 moreShow less
openwall.com/lists/oss-security/2021/08/07/12
lists.debian.org/debian-lts-announce/2021/08/msg00010.html
debian.org/security/2021/dsa-4953
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKNK7GQBJBUBMJVNKVC7RTCYWUYMFJQW
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K6PZF7JNTFCOJ62HXZG4Q2NEHSZ6IO2V
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7YMUHFJJWTZ6HBHTYXVDPNZINGGURHDW
nvd.nist.gov/vuln/detail/CVE-2021-38165
lists.fedoraproject.org/archives/list/[email protected]/message/7YMUHFJJWTZ6HBHTYXVDPNZINGGURHDW
lists.fedoraproject.org/archives/list/[email protected]/message/K6PZF7JNTFCOJ62HXZG4Q2NEHSZ6IO2V
lists.fedoraproject.org/archives/list/[email protected]/message/VKNK7GQBJBUBMJVNKVC7RTCYWUYMFJQW
openwall.com/lists/oss-security/2021/08/07/7
github.com/advisories/GHSA-88f3-hp86-v36f
security.alpinelinux.org/vuln/CVE-2021-38165
errata.almalinux.org/8/ALSA-2022-2129.html
vulners.com/cve/CVE-2021-38165
security-tracker.debian.org/tracker/CVE-2021-38165
advisories.mageia.org/MGASA-2021-0422.html
bugs.mageia.org/show_bug.cgi?id=29342
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1326
access.redhat.com/errata/RHSA-2022:2129
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1994998
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_2129.json
access.redhat.com/security/cve/CVE-2021-38165
cve.org/CVERecord?id=CVE-2021-38165
errata.rockylinux.org/RLSA-2022:2129
ubuntu.com/security/CVE-2021-38165
lists.nongnu.org/archive/html/lynx-dev/2021-08/msg00002.html
invisible-mirror.net/archives/lynx/patches/lynx2.9.0dev.9.patch.gz
ubuntu.com/security/notices/USN-4800-1
ubuntu.com/security/CVE-2016-9179
ubuntu.com/security/CVE-2017-1000211