CVE-2021-0256

Junos OS: mosquitto Local Privilege Escalation vulnerability in SUID binaries

AllVuln state: AFFECTED

MEDIUM
CVSS
5.5
3.1
EPSS
0.22%
Percentile 12.71%
CISA KEV
Not listed
Published
April 22, 2021
Updated September 16, 2024

Description

A sensitive information disclosure vulnerability in the mosquitto message broker of Juniper Networks Junos OS may allow a locally authenticated user with shell access the ability to read portions of sensitive files, such as the master.passwd file. Since mosquitto is shipped with setuid permissions enabled and is owned by the root user, this vulnerability may allow a local privileged user the ability to run mosquitto with root privileges and access sensitive information stored on the local filesystem. This issue affects Juniper Networks Junos OS: 17.3 versions prior to 17.3R3-S12, 17.4 versions prior to 17.4R3-S4; 18.1 versions prior to 18.1R3-S12; 18.3 versions prior to 18.3R3-S4; 19.1 versions prior to 19.1R3-S4; 19.3 versions prior to 19.3R3-S1, 19.3R3-S2; 19.4 versions prior to 19.4R2-S3; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R1-S3, 20.2R2, 20.2R3.

Risk details

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
attack vector
L
attack complexity
L
privileges required
L
user interaction
N
scope
U
CWE
CWE-250

What should I do?

Review the vendor remediation for fixed or recommended release 17.3R3-S12.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
17.3R3-S12
NOT_AFFECTED · EXACT
17.3R3-S12
AFFECTED · RANGE
17.4R3-S4
NOT_AFFECTED · EXACT
17.4R3-S4
AFFECTED · RANGE
18.1R3-S12
NOT_AFFECTED · EXACT
18.1R3-S12
AFFECTED · RANGE
18.3R3-S4
NOT_AFFECTED · EXACT
18.3R3-S4
AFFECTED · RANGE
19.1R3-S4
NOT_AFFECTED · EXACT
19.1R3-S4
UNKNOWN · UNKNOWN
{"lessThan": "19.3R3-S1, 19.3R3-S2", "status": "affected", "version": "19.3", "versionType": "custom"}
AFFECTED · RANGE
19.4R2-S3
NOT_AFFECTED · EXACT
19.4R2-S3
AFFECTED · RANGE
20.1R2
NOT_AFFECTED · EXACT
20.1R2
UNKNOWN · UNKNOWN
{"lessThan": "20.2R1-S3, 20.2R2, 20.2R3", "status": "affected", "version": "20.2", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 17.3
First fixed: 17.3R3-S12
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 17.4
First fixed: 17.4R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.1
First fixed: 18.1R3-S12
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.3
First fixed: 18.3R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.1
First fixed: 19.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.4
First fixed: 19.4R2-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.1
First fixed: 20.1R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.2 → 20.2R1-S3, 20.2R2, 20.2R3
AFFECTED · RANGE
17.3 → 17.3R3-S12
AFFECTED · RANGE
17.4 → 17.4R3-S4
AFFECTED · RANGE
18.1 → 18.1R3-S12
AFFECTED · RANGE
18.3 → 18.3R3-S4
AFFECTED · RANGE
19.1 → 19.1R3-S4
AFFECTED · RANGE
19.3 → 19.3R3-S1, 19.3R3-S2
AFFECTED · RANGE
19.4 → 19.4R2-S3
AFFECTED · RANGE
20.1 → 20.1R2

Remediation

UNKNOWN
Release train: 17.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.2
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.