CVE-2021-0223 Junos OS: telnetd.real Local Privilege Escalation vulnerabilities in SUID binaries

High 7.8 Published Updated

A local authenticated user can escalate privileges to root and execute arbitrary commands due to insecure SUID permissions on telnetd.real in Junos OS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-0223?

CVE-2021-0223 is a high-severity vulnerability in Juniper Junos, published on 15 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A local privilege escalation vulnerability in telnetd.real of Juniper Networks Junos OS may allow a locally authenticated shell user to escalate privileges and execute arbitrary commands as root. telnetd.real is shipped with setuid permissions enabled and is owned by the root user, allowing local users to run telnetd.real with root privileges. This issue affects Juniper Networks Junos OS: all versions prior to 15.1R7-S9; 17.3 versions prior to 17.3R3-S11; 17.4 versions prior to 17.4R2-S12, 17.4R3-S3; 18.1 versions prior to 18.1R3-S11; 18.2 versions prior to 18.2R3-S6; 18.3 versions prior to 18.3R2-S4, 18.3R3-S4; 18.4 versions prior to 18.4R2-S7, 18.4R3-S6; 19.1 versions prior to 19.1R2-S2, 19.1R3-S4; 19.2 versions prior to 19.2R1-S6, 19.2R3-S1; 19.3 versions prior to 19.3R3-S1; 19.4 versions prior to 19.4R2-S2, 19.4R3; 20.1 versions prior to 20.1R1-S4, 20.1R2; 20.2 versions prior to 20.2R2.

Weakness: CWE-269, CWE-250

Which versions are affected by CVE-2021-0223?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2021-0223?

No fix has been published for CVE-2021-0223 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-0223 being exploited?

There is no known exploitation of CVE-2021-0223 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-gxjv-3qx5-453x.

Is CVE-2021-0223 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free