Gix-date: gix-date: undefined behavior due to invalid string generation
GitoxideLabs gitoxide · Red Hat Logging Subsystem for Red Hat OpenShift · Red Hat Enterprise Linux 10 · Red Hat Enterprise Linux 8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gix-date crates.io |
|
|
Original description
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.
From the CVE record · redhat