Inefficient Regular Expression Complexity Affecting tritonserver-backend-tensorrtllm-24.04 package, versions <0.9.0-r5


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.48% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-TRITONSERVERBACKENDTENSORRTLLM2404-10056823
  • published7 May 2025
  • disclosed29 Apr 2025

Introduced: 29 Apr 2025

CVE-2025-1194  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard tritonserver-backend-tensorrtllm-24.04 to version 0.9.0-r5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tritonserver-backend-tensorrtllm-24.04 package and not the tritonserver-backend-tensorrtllm-24.04 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_gpt_neox_japanese.py of the GPT-NeoX-Japanese model. The vulnerability occurs in the SubWordJapaneseTokenizer class, where regular expressions process specially crafted inputs. The issue stems from a regex exhibiting exponential complexity under certain conditions, leading to excessive backtracking. This can result in high CPU usage and potential application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is v4.48.1 (latest).

CVSS Base Scores

version 3.1