CVE-2026-120194
개요
A flaw was found in json-glib. The JSONPath slice evaluator used by json_path_query() can enter an infinite loop when given a slice expression with a negative step. An application that evaluates attacker-controlled JSONPath expressions can be forced into a hang, leading to a denial of service.
내용
This issue is rated Important. A remote attacker who can supply a crafted JSONPath expression to an application that evaluates it with json-glib's json_path_query() (or equivalent compile-and-match APIs) can trigger a non-terminating loop in the slice evaluator (for example $[:5:-1]), causing a denial of service. Applications that only use fixed, application-defined JSONPath expressions are not exposed. No confidentiality or integrity impact has been demonstrated. No fixed upstream release is available yet; all currently shipped Red Hat and Fedora json-glib builds that include the JSONPath slice evaluator contain the vulnerable loop.
완화 방법
Do not evaluate untrusted JSONPath expressions with json_path_query() or json_path_compile()/json_path_match() until a fix is available. Prefer fixed, application-defined path expressions. In particular, reject or avoid slice expressions that specify a negative step.
CVSS (Common Vulnerability Scoring System) 점수 세부 사항
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
다음의 CVSS 지표 및 점수는 예비 정보로 검토 대상입니다.
CVSS v3 점수 분석
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| 기본 점수 | 7.5 | N/A | 7.5 |
| 공격 벡터 | Network | N/A | Network |
| 공격 복잡성 | Low | N/A | Low |
| 필요한 권한 | None | N/A | None |
| 사용자 상호 작용 | None | N/A | None |
| 범위 | Unchanged | N/A | Unchanged |
| 기밀성 | None | N/A | None |
| 무결성에 미치는 영향 | None | N/A | None |
| 가용성에 미치는 영향 | High | N/A | High |
벡터
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
취약점 이해 (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Amplification
An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.
감사의 말
Red Hat would like to thank Avinash Hanwate for reporting this issue.