1 line
1.3 KiB
JSON
1 line
1.3 KiB
JSON
{"schema_version":"1.8.0","id":"RUSTSEC-2026-0244","published":"2026-08-06T12:00:00Z","modified":"2026-08-09T15:00:04.155894581Z","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.","affected":[{"package":{"name":"gettext-rs","ecosystem":"crates.io","purl":"pkg:cargo/gettext-rs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.8.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["gettext_rs::TextDomain::init","gettext_rs::setlocale"],"os":[]}},"database_specific":{"categories":["memory-corruption","thread-safety"],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0244.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/gettext-rs"},{"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"}} |