Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
ratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)
Vulnerability Description
RaTeX is a KaTeX-compatible math rendering engine written in Rust. Prior to version 0.1.11, the public parser entrypoint `ratex_parser::parse(&str)` panics on the 9-byte input `\verbéxé` (i.e. `\verb` followed by the non-ASCII delimiter `é`). When handling a `\verb` command, the parser slices the verbatim argument with byte indices (`arg[1..arg.len() - 1]`); if the delimiter character is multibyte UTF-8, index `1` lands inside that character and Rust panics with *“byte index 1 is not a char boundary”*. Because RaTeX’s release profile sets `panic = "abort"` (`Cargo.toml:48`), the panic aborts the entire process — not just the current request/thread — making this a hard denial of service for any service that renders untrusted LaTeX. Version 0.1.11 fixes the issue.
CVSS Information
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
Vulnerability Type
未捕获的异常
Vulnerability Title
erweixin RaTeX 缓冲区错误漏洞
Vulnerability Description
erweixin RaTeX是erweixin个人开发者的一款文本排版工具。 erweixin RaTeX 0.1.11之前版本存在安全漏洞,该漏洞源于解析器在处理\verb命令时使用字节索引切片参数,当分隔符为多字节UTF-8字符时触发Rust panic并中止整个进程,可能导致拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A