Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-6mw6-mj76-grwc

Опубликовано: 05 янв. 2026
Источник: github
Github: Прошло ревью
CVSS4: 5.5

Описание

gix-date can create non-utf8 string with TimeBuf::as_str

The function gix_date::parse::TimeBuf::as_str can create an illegal string containing non-utf8 characters. This violates the safety invariant of TimeBuf and can lead to undefined behavior when consuming the string.

The bug can be prevented by adding str::from_utf8 to the function TimeBuf::write.

Пакеты

Наименование

gix-date

rust
Затронутые версииВерсия исправления

< 0.12.0

0.12.0

EPSS

Процентиль: 0%
0.00005
Низкий

5.5 Medium

CVSS4

Дефекты

CWE-787

Связанные уязвимости

CVSS3: 6.8
ubuntu
11 дней назад

A flaw was found in gix-date. The `gix_date::parse::TimeBuf::as_str` function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the `TimeBuf` component, leading to undefined behavior when these malformed strings are subsequently processed. This could potentially result in application instability or other unforeseen consequences.

CVSS3: 6.8
nvd
11 дней назад

A flaw was found in gix-date. The `gix_date::parse::TimeBuf::as_str` function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the `TimeBuf` component, leading to undefined behavior when these malformed strings are subsequently processed. This could potentially result in application instability or other unforeseen consequences.

CVSS3: 6.8
debian
11 дней назад

A flaw was found in gix-date. The `gix_date::parse::TimeBuf::as_str` f ...

EPSS

Процентиль: 0%
0.00005
Низкий

5.5 Medium

CVSS4

Дефекты

CWE-787