CVE-2025-30089 Details
Description
gurk (aka gurk-rs) through 0.6.3 mishandles ANSI escape sequences.
A vulnerability exists in Gurk (also known as Gurk-rs) versions through 0.6.3 due to improper handling of ANSI escape sequences. This issue can lead to various terminal manipulations, such as cursor movement, text clearing, and even potential remote code execution, depending on the terminal's interpretation of these sequences. The vulnerability allows for 'defacing' the terminal, rendering the command-line interface unusable. The issue arises from messages received and rendered by the client, which can include unsanitized ANSI escape codes.
Messages should be sanitized to remove or properly handle untrusted data, such as ANSI escape sequences, before rendering in the terminal. This could involve filtering out the escape character or applying a more complex filter that does not interfere with the rendering of Unicode or emoji.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 17, 2025CISA-ADP
Assessed Mar 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/boxdot/gurk-rs/issues/384 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://crates.io/crates/gurk | [email protected] | ProductVendor |
| https://github.com/boxdot/gurk-rs/issues/384 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-150 | Improper Neutralization of Escape, Meta, or Control Sequences | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| boxdot gurk | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | CVE Modified | [email protected] |
| Mar 17, 2025 | New CVE Received | [email protected] |
Volerion