Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-c8v3-jhv9-4ppc — rust-i18n-support

⚪ Unknown ✅ No Known Exploit CWE-416 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Use-after-free when setting the locale

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.

Weakness class

GHSA-c8v3-jhv9-4ppc is classified as CWE-416: Use After Free. Memory is used after being released, so its contents may already belong to something else.

Affected software

GHSA-c8v3-jhv9-4ppc is recorded against 1 package.

  • rust-i18n-support

Timeline and source

Published on 23 January 2024 and last revised on 10 February 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)
rustsec.org (Web)

Other advisories for this package

rust-i18n-support has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-416: Use After Free) in other software:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-416
Public Exploit ✅ No
Source OSV
Published 2024-01-23
Updated 2026-08-20
Modified 2024-02-10
Fix URL N/A

Affected Packages

Software From version Fixed in
rust-i18n-support — —

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-c8v3-jhv9-4ppc?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-c8v3-jhv9-4ppc and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated
✓