LiveActive security incident?Get immediate response
CVE Record

CVE-2021-0256: Junos OS: mosquitto Local Privilege Escalation vulnerability in SUID binaries

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.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This Junos OS issue lets a logged-in user with shell access read sensitive local files through a root-owned mosquitto SUID binary. It is not described as remote code execution, but it can expose high-value device secrets, including password file content.

Executive priority

Treat as a moderate, targeted infrastructure risk. It does not appear remotely exploitable from the provided evidence, but affected network devices can expose sensitive local secrets after a user gains shell access.

Technical view

CVE-2021-0256 is a CWE-250 privilege-management flaw in Junos OS mosquitto packaging. Because mosquitto is root-owned and setuid, a low-privileged local shell user may access sensitive filesystem data. CVSS 3.1 is 5.5: local attack, low complexity, low privileges, no user interaction, high confidentiality impact.

Likely exposure

Exposure is limited to Juniper Networks Junos OS 17.3, 17.4, 18.1, 18.3, 19.1, 19.3, 19.4, 20.1, and 20.2 before the fixed releases listed by Juniper.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires local authenticated shell access, so risk is highest where many users can access device shells or credentials are already compromised.

Researcher notes

Key constraints are local access, low privileges, no user interaction, and confidentiality-only impact in CVSS. Validate SUID mosquitto exposure only within authorized environments and avoid assuming broader products or exploit availability beyond Juniper’s affected Junos OS ranges.

Mitigation direction

  • Upgrade affected Junos OS devices to the fixed release for their train or later.
  • Review Juniper advisory JSA11175 for platform-specific upgrade guidance.
  • Restrict local shell access to trusted administrators until upgrades are complete.
  • Prioritize internet-edge and high-privilege network devices for remediation.
  • Monitor affected devices for unusual local sensitive-file access.

Validation and detection

  • Inventory Junos OS versions across routers, switches, and security appliances.
  • Compare each device version against the affected release ranges listed by Juniper.
  • Confirm whether local shell access is enabled and who can use it.
  • Verify remediated devices run a fixed or later Junos OS release.
  • Check vulnerability scanner results against Juniper advisory JSA11175.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-250: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-0256 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2021-0256Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Juniper NetworksJunos OS17.3, 17.4, 18.1, 18.3, 19.1, 19.3, 19.4, 20.1, 20.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-250 · source CWE mapping

Execution with Unnecessary Privileges

Execution with Unnecessary Privileges represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.