CVE-2018-0494 json
GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the resp_new function in http.c via a \r\n sequence in a continuatio…
published 8y ago modified 4mo ago also EUVD-2018-1317
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.5%
- EPSS 16.5% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the resp_new function in http.c via a \r\n sequence in a continuation line.
Patch / fix
- gnu wget 1.19.5
- wget Debian 14, Debian 13, Debian 12 1.19.5-1
debian advisories DEBIAN-CVE-2018-0494
- wget Ubuntu 14.04 LTS 1.15-1ubuntu1.14.04.4
- wget Ubuntu 16.04 LTS 1.17.1-1ubuntu1.4
- wget Ubuntu 18.04 LTS 1.19.4-1ubuntu2.1
ubuntu advisories UBUNTU-CVE-2018-0494
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- wget RHEL 7 1.14-18.el7
red hat advisories RHSA-2018:3052
- wget SLES for SAP 11 SP4, SLES 11 SP4 1.11.4-1.41.3.1
- wget-openssl1 SLES 11-SECURITY 1.11.4-1.41.3.1
- wget SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 1.14-21.7.1
suse advisories SUSE-SU-2018:1367-1SUSE-SU-2018:1373-1
- wget openSUSE Tumbleweed 1.21.1-2.2
opensuse advisories openSUSE-SU-2024:11510-1
- wget Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 1.19.5-r0
- wget Alpine 3.4 1.18-r3
- wget Alpine 3.5 1.18-r4
alpine advisories ALPINE-CVE-2018-0494
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-0494 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-0494 updated cvss 7.1
wget: Cookie injection allows malicious website to write arbitrary cookie entries into cookie jar
-
Red Hat Enterprise Linux 5 wget Red Hat Enterprise Linux 6 wgetaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) wget 1.14-18.el7 Red Hat Enterprise Linux ComputeNode (v. 7) wget 1.14-18.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) wget 1.14-18.el7 Red Hat Enterprise Linux Server (v. 7) wget 1.14-18.el7 Red Hat Enterprise Linux Workstation (v. 7) wget 1.14-18.el7fixed: vendor fix RHSA-2018:3052
-
Red Hat Enterprise Linux 8 wgetnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-44601)
- Published
Exploit prediction
16.49% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-44601 GNU wget - Cookie Injection local, 2018-05-06
- sintonen.fi https://sintonen.fi/advisories/gnu-wget-cookie-injection.txt referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- n/a WGet
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
git.savannah.gnu.org
/cgit/wget.git/commit/?id=1fc9c95ec144499e69dc8ec76dbe07799d7d82cd
third-party-advisory
-
lists.gnu.org
/archive/html/bug-wget/2018-05/msg00020.html
patch, third-party-advisory
-
exploit-db.com
/exploits/44601/
exploit, third-party-advisory, vdb-entry
-
sintonen.fi
/advisories/gnu-wget-cookie-injection.txt
exploit, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3052
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201806-01
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4195
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3643-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3643-1/
vendor-advisory, third-party-advisory
-
savannah.gnu.org
/bugs/?53763
broken-link
-
securityfocus.com
/bid/104129
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1040838
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/05/msg00006.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-0494
- NVD CVE-2018-0494
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.