CVE-2020-26235Time Project Time
Media 5.3
Seguir: esta CVE · Time Project · Time Project Time Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 32
- CVSS 3.1
- 5.3
- EPSS
- 2.0% probabilidad de explotación en 30 días · percentil 81
- Requiere autenticación
- Sí
- Publicada
- 24 nov 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-476
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Qué pasa
In Rust time crate from version 0.2.7 and before version 0.2.23, unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires the user to set any environment variable in a different thread than the affected functions. The affected functions are time::UtcOffset::local_offset_at, time::UtcOffset::try_local_offset_at, time::UtcOffset::current_local_offset, time::UtcOffset::try_current_local_offset, time::OffsetDateTime::now_local and time::OffsetDateTime::try_now_local. Non-Unix targets are unaffected. This includes Windows and wasm. The issue was introduced in version 0.2.7 and fixed in version 0.2.23.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Time.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| crates.io | time |
≥ 0.1.0 < 0.2.23 |
0.2.23 |
cargo update -p time --precise 0.2.23 |
| crates.io | time |
≥ 0.2.7 < 0.2.23 |
0.2.23 |
cargo update -p time --precise 0.2.23 |
| crates.io | time |
≥ 0.0.0-0 < 0.2.0 |
0.2.0 |
cargo update -p time --precise 0.2.0 |
| crates.io | time |
≥ 0.2.1-0 < 0.2.1 |
0.2.1 |
cargo update -p time --precise 0.2.1 |
| crates.io | time |
≥ 0.2.2-0 < 0.2.2 |
0.2.2 |
cargo update -p time --precise 0.2.2 |
| crates.io | time |
≥ 0.2.3-0 < 0.2.3 |
0.2.3 |
cargo update -p time --precise 0.2.3 |
Según OSV / GitHub Advisories (GHSA-wcg3-cvx6-7396, RUSTSEC-2020-0071). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| time_project | time | ≥ 0.2.7 < 0.2.23 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- crates.io Release Notes Vendor Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory