Improper encoding or escaping of output in Junos OS - CVE-2025-30657

 

Improper encoding or escaping of output in Junos OS - CVE-2025-30657

Published: April 14, 2025


Vulnerability identifier: #VU107436
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-30657
CWE-ID: CWE-116
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

The vulnerability exists due to improper encoding or escaping of output error in the Sampling Route Record Daemon (SRRD). A remote non-authenticated attacker can cause a Denial-of-Service (DoS).

When a device configured for flow-monitoring receives a specific BGP update message, it is correctly processed internally by the routing protocol daemon (rpd), but when it's sent to SRRD it's encoded incorrectly which leads to a crash and momentary interruption of jflow processing until it automatically restarts.

This issue does not affect traffic forwarding itself.


Affected software

Junos OS

How to mitigate CVE-2025-30657

Install updates from vendor's website.

Junos OS - addressed in versions 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3, 23.2R1-S2, 23.2R2, 23.4R1

External References

Related Security Bulletins