Read the docs
TI-2024-38483 Aliases GHSA-c8v3-jhv9-4ppc

Use-after-free when setting the locale

Priority LOW 38CWE-416Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Version 3.0.0 introduced an `AtomicStr` type, that is used to store the current locale. It stores the locale as a raw pointer to an `Arc<String>`. The locale can be read with `AtomicStr::as_str()`. `AtomicStr::as_str()` does not increment the usage counter of the `Arc`. If the locale is changed in one thread, another thread can have a stale -- possibly already freed -- reference to the stored string.

Why it matters now

Fix Fixed rust-i18n-support (crates.io): 3.0.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—rust-i18n-support (crates.io)3.0.0 to before 3.0.13.0.1Patch availableGHSA-c8v3-jhv9-4ppc
  • rust-i18n-support (crates.io) Vendor— Affected 3.0.0 to before 3.0.1 Fixed in 3.0.1 Patch available GHSA-c8v3-jhv9-4ppc

Remediation

  • Fix · GHSA-c8v3-jhv9-4ppc rust-i18n-support (crates.io) Fixed in 3.0.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-c8v3-jhv9-4ppc

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences