CVE-2014-5002: lynx doesn't properly sanitize user input and exposes database password to unauthorized users
7.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.24123%
CWE
Published
1/24/2018
Updated
9/5/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
lynx | rubygems | <= 0.4.0 | 1.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key points: 1) The password is explicitly added to command-line arguments in Lynx::Command::Basic
, as shown in the code snippet from basic.rb
. 2) The Run#perform
method executes these commands without sanitization. Together, these allow sensitive credentials to appear in process listings. Both functions are directly referenced in advisory code snippets and CVE analysis, confirming their role in the exposure.