{
  "id": "CVE-2025-21594",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21594",
  "published_at": "2025-04-09T19:49:41.391Z",
  "title": "Junos OS: MX Series: In DS-lite and NAT scenario receipt of crafted IPv6 traffic causes port block",
  "vendor": "Juniper Networks",
  "product": "Junos OS",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/R:U"
  },
  "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: MX Series:"
  },
  "description": "An Improper Check for Unusual or Exceptional Conditions vulnerability in the pfe (packet forwarding engine) of Juniper Networks Junos OS on MX Series causes a port within a pool to be blocked leading to Denial of Service (DoS).\n\nIn a DS-Lite (Dual-Stack Lite) and NAT (Network Address Translation) scenario, when crafted IPv6 traffic is received and prefix-length is set to 56, the ports assigned to the user will not be freed.  Eventually, users cannot establish new connections. Affected FPC/PIC need to be manually restarted to recover.\nFollowing is the command to identify the issue: \n\n\n    user@host\u003e show services nat source port-block \n    Host_IP                       External_IP                    Port_Block      Ports_Used/        Block_State/\n                                                               Range             Ports_Total        Left_Time(s)\n    2001::                        x.x.x.x                     58880-59391     256/256*1         Active/-        \u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003eport still usedThis issue affects Junos OS on MX Series: \n\n  *  from 21.2 before 21.2R3-S8, \n  *  from 21.4 before 21.4R3-S7, \n  *  from 22.1 before 22.1R3-S6, \n  *  from 22.2 before 22.2R3-S4, \n  *  from 22.3 before 22.3R3-S3, \n  *  from 22.4 before 22.4R3-S2, \n  *  from 23.2 before 23.2R2-S1, \n  *  from 23.4 before 23.4R1-S2, 23.4R2.\n\n\nThis issue does not affect versions before 20.2R1.",
  "cwe": "CWE-754",
  "cpes": [
    "cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3-s7:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3-s5:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3-s6:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:21.4:r3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:-:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r1-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r1-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r2-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r2-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r3-s1:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r3-s2:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r3-s3:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r3-s4:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r3-s5:*:*:*:*:*:*",
    "cpe:2.3:o:juniper:junos:22.1:r3:*:*:*:*:*:*",
    "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:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Juniper Networks",
        "product": "Junos OS",
        "ranges": [
          "\u003c 21.2R3-S8",
          "\u003e= 21.4, \u003c 21.4R3-S7",
          "\u003e= 22.1, \u003c 22.1R3-S6",
          "\u003e= 22.2, \u003c 22.2R3-S4",
          "\u003e= 22.3, \u003c 22.3R3-S3",
          "\u003e= 22.4, \u003c 22.4R3-S2",
          "\u003e= 23.2, \u003c 23.2R2-S1",
          "\u003e= 23.4, \u003c 23.4R1-S2, 23.4R2"
        ],
        "fixed_in": [
          "21.2R3-S8",
          "21.4R3-S7",
          "22.1R3-S6",
          "22.2R3-S4",
          "22.3R3-S3",
          "22.4R3-S2",
          "23.2R2-S1",
          "23.4R1-S2, 23.4R2",
          "0"
        ]
      }
    ],
    "solutions": [
      "The following software releases have been updated to resolve this specific issue: \n\nJunos OS: 21.2R3-S8, 21.4R3-S7, 22.1R3-S6, 22.2R3-S4, 22.3R3-S3, 22.4R3-S2, 23.2R2-S1, 23.4R1-S2, 23.4R2, 24.2R1, and all subsequent releases."
    ],
    "upgrade": [
      "Upgrade Junos OS to 21.2R3-S8 or 21.4R3-S7 or 22.1R3-S6 or 22.2R3-S4 or 22.3R3-S3 or 22.4R3-S2 or 23.2R2-S1 or 23.4R1-S2, 23.4R2 or 0 or later."
    ],
    "workarounds": [
      "Modify the IPv6 prefix-length to be 64/96/128 through the command:\n\n[ set services service-set \u003c*\u003e softwire-options dslite-ipv6-prefix-length 64/96/128]"
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://supportportal.juniper.net/JSA96449"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
