{
  "id": "CVE-2025-52983",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-52983",
  "published_at": "2025-07-11T15:09:18.207Z",
  "title": "Junos OS: After removing ssh public key authentication root can still log in",
  "vendor": "Juniper Networks",
  "product": "Junos OS",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/R:U/RE:M"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: Juniper Networks Junos OS Junos OS: After removing"
  },
  "description": "A UI Discrepancy for Security Feature\n\nvulnerability in the UI of Juniper Networks Junos OS on VM Host systems allows a network-based, unauthenticated attacker to access the device.\n\n\n\nOn VM Host Routing Engines (RE), even if the configured public key for root has been removed, remote users which are in possession of the corresponding private key can still log in as root.\nThis issue affects Junos OS:\n\n\n\n  *  all versions before 22.2R3-S7,\n  *  22.4 versions before 22.4R3-S5,\n  *  23.2 versions before 23.2R2-S3,\n  *  23.4 versions before 23.4R2-S3,\n  *  24.2 versions before 24.2R1-S2, 24.2R2.",
  "cwe": "CWE-446",
  "cpes": [
    "cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s5:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3-s6:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.2:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.4:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.2:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:23.4:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:24.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:24.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:24.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:24.2:r2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Juniper Networks",
        "product": "Junos OS",
        "ranges": [
          "\u003c 22.2R3-S7",
          "\u003e= 22.4, \u003c 22.4R3-S5",
          "\u003e= 23.2, \u003c 23.2R2-S3",
          "\u003e= 23.4, \u003c 23.4R2-S3",
          "\u003e= 24.2, \u003c 24.2R1-S2, 24.2R2"
        ],
        "fixed_in": [
          "22.2R3-S7",
          "22.4R3-S5",
          "23.2R2-S3",
          "23.4R2-S3",
          "24.2R1-S2, 24.2R2"
        ]
      }
    ],
    "solutions": [
      "The following software releases have been updated to resolve this specific issue: 22.2R3-S7, 22.4R3-S5, 23.2R2-S3, 23.4R2-S3, 24.2R1-S2, 24.2R2, 24.4R1, and all subsequent releases."
    ],
    "upgrade": [
      "Upgrade Junos OS to 22.2R3-S7 or 22.4R3-S5 or 23.2R2-S3 or 23.4R2-S3 or 24.2R1-S2, 24.2R2 or later."
    ],
    "workarounds": [
      "To prevent this issue from being ocuring, public key authentication for root can be explicitly disabled with:\n\n[\n\nsystem root-authentication no-public-keys\n\n]"
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://supportportal.juniper.net/JSA100089"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
