GHSA-8rgq-m2pm-jvmg
Duplicate Advisory: gix-date can create non-utf8 string with `TimeBuf::as_str`
Auswirkung
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-6mw6-mj76-grwc. This link is maintained to preserve external references. ### 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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | gix-date | < 0.12.0 | 0.12.0 |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-8rgq-m2pm-jvmg
- https://nvd.nist.gov/vuln/detail/CVE-2026-0810
- https://github.com/GitoxideLabs/gitoxide/issues/2305
- https://access.redhat.com/security/cve/CVE-2026-0810
- https://bugzilla.redhat.com/show_bug.cgi?id=2427057
- https://crates.io/crates/gix-date
- https://rustsec.org/advisories/RUSTSEC-2025-0140.html