Name | CVE-2019-0053 |
Description | Insufficient validation of environment variables in the telnet client supplied in Junos OS can lead to stack-based buffer overflows, which can be exploited to bypass veriexec restrictions on Junos OS. A stack-based overflow is present in the handling of environment variables when connecting via the telnet client to remote telnet servers. This issue only affects the telnet client — accessible from the CLI or shell — in Junos OS. Inbound telnet services are not affected by this issue. This issue affects: Juniper Networks Junos OS: 12.3 versions prior to 12.3R12-S13; 12.3X48 versions prior to 12.3X48-D80; 14.1X53 versions prior to 14.1X53-D130, 14.1X53-D49; 15.1 versions prior to 15.1F6-S12, 15.1R7-S4; 15.1X49 versions prior to 15.1X49-D170; 15.1X53 versions prior to 15.1X53-D237, 15.1X53-D496, 15.1X53-D591, 15.1X53-D69; 16.1 versions prior to 16.1R3-S11, 16.1R7-S4; 16.2 versions prior to 16.2R2-S9; 17.1 versions prior to 17.1R3; 17.2 versions prior to 17.2R1-S8, 17.2R2-S7, 17.2R3-S1; 17.3 versions prior to 17.3R3-S4; 17.4 versions prior to 17.4R1-S6, 17.4R2-S3, 17.4R3; 18.1 versions prior to 18.1R2-S4, 18.1R3-S3; 18.2 versions prior to 18.2R1-S5, 18.2R2-S2, 18.2R3; 18.2X75 versions prior to 18.2X75-D40; 18.3 versions prior to 18.3R1-S3, 18.3R2; 18.4 versions prior to 18.4R1-S2, 18.4R2. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3611-1, ELA-1057-1, ELA-1103-1 |
Debian Bugs | 945861 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
inetutils (PTS) | jessie, jessie (lts) | 2:1.9.2.39.3a460-3+deb8u2 | fixed |
stretch (security) | 2:1.9.4-2+deb9u1 | vulnerable | |
stretch (lts), stretch | 2:1.9.4-2+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 2:1.9.4-7+deb10u3 | fixed | |
bullseye | 2:2.0-1+deb11u2 | fixed | |
bookworm | 2:2.4-2+deb12u1 | fixed | |
sid, trixie | 2:2.5-5 | fixed | |
socks4-server (PTS) | buster, stretch | 4.3.beta2-20 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
inetutils | source | wheezy | (unfixed) | end-of-life | ||
inetutils | source | jessie | 2:1.9.2.39.3a460-3+deb8u2 | ELA-1057-1 | ||
inetutils | source | stretch | 2:1.9.4-2+deb9u3 | ELA-1103-1 | ||
inetutils | source | buster | 2:1.9.4-7+deb10u3 | DLA-3611-1 | ||
inetutils | source | (unstable) | 2:1.9.4-11 | low | 945861 | |
socks4-server | source | wheezy | (unfixed) | end-of-life | ||
socks4-server | source | (unstable) | (unfixed) | low |
[buster] - socks4-server <ignored> (Minor issue)
[stretch] - socks4-server <ignored> (Minor issue)
[stretch] - inetutils <ignored> (Minor issue)
[jessie] - inetutils <no-dsa> (Minor issue)
https://www.freebsd.org/security/advisories/FreeBSD-SA-19:12.telnet.asc
https://raw.githubusercontent.com/hackerhouse-opensource/exploits/master/inetutils-telnet.txt
https://www.openwall.com/lists/oss-security/2018/12/14/8
Additional patch to fix infinite loop causing stack exhaustion (but not
directly covered by this CVE applied in inetutils/2:2.2-2):
https://git.hadrons.org/cgit/debian/pkgs/inetutils.git/diff/?id=0d246b17e51060daac8a26848a8d9e5722fcca24