Files
advisory-db/packages/gettext-sys.json
T
2026-08-09 13:42:41 +00:00

71 lines
1.9 KiB
JSON

[
{
"id": "RUSTSEC-2026-0244",
"modified": "2026-08-09T13:42:26Z",
"published": "2026-08-06T12:00:00Z",
"aliases": [],
"related": [],
"summary": "`setlocale` and `TextDomain::init` are unsound as they access environment with no synchronization",
"details": "`setlocale` and `TextDomain::init` are unsound and may allow safe code to exhibit undefined behavior when called in a multi-threaded program.\n\nThe flaw is fixed in 0.8.0 by marking these functions `unsafe` and documenting the conditions under which they can be called safely.",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "gettext-sys",
"purl": "pkg:cargo/gettext-sys"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": [
"gettext_sys::TextDomain::init",
"gettext_sys::setlocale"
]
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption",
"thread-safety"
],
"cvss": null,
"informational": "unsound"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.8.0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/gettext-sys"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0244.html"
},
{
"type": "REPORT",
"url": "https://github.com/gettext-rs/gettext-rs/issues/64"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]