{"id":"GHSA-3gxf-9r58-2ghg","aliases":["RUSTSEC-2023-0022"],"status":"published","title":"`openssl` `X509NameBuilder::build` returned object is not thread safe","description":"OpenSSL has a `modified` bit that it can set on on `X509_NAME` objects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value.\n\nThanks to David Benjamin (Google) for reporting this issue.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-03-24T12:00:00Z","modified":"2023-11-08T04:14:38Z","fixes":[{"ecosystem":"crates.io","package":"openssl","fixed_in":["0.10.48"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"openssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.7"},{"fixed":"0.10.48"}]}]},{"source":"osv","ecosystem":"crates.io","package":"openssl","ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.7"},{"fixed":"0.10.48"}]}]},{"source":"osv","ecosystem":"crates.io","package":"openssl","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.48"}]}]}],"references":[{"url":"https://github.com/sfackler/rust-openssl/pull/1854","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0022.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-3gxf-9r58-2ghg"},{"url":"https://crates.io/crates/openssl","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-3gxf-9r58-2ghg","title":"`openssl` `X509NameBuilder::build` returned object is not thread safe","description":"OpenSSL has a `modified` bit that it can set on on `X509_NAME` objects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value.\n\nThanks to David Benjamin (Google) for reporting this issue.\n","status":"published","published":"2023-03-24T22:01:35Z","modified":"2023-03-24T22:01:36Z","updated_at":"2026-11-02T14:36:48.905887Z"}],"osv":[{"id":"GHSA-3gxf-9r58-2ghg","title":"`openssl` `X509NameBuilder::build` returned object is not thread safe","description":"OpenSSL has a `modified` bit that it can set on on `X509_NAME` objects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value.\n\nThanks to David Benjamin (Google) for reporting this issue.\n","status":"published","published":"2023-03-24T22:01:35Z","modified":"2023-11-08T04:14:38.793551Z","updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"RUSTSEC-2023-0022","title":"`openssl` `X509NameBuilder::build` returned object is not thread safe","description":"OpenSSL has a `modified` bit that it can set on on `X509_NAME` objects. If this\nbit is set then the object is not thread-safe even when it appears the code is\nnot modifying the value.\n\nThanks to David Benjamin (Google) for reporting this issue.","status":"published","published":"2023-03-24T12:00:00Z","modified":"2023-11-08T04:14:38.793551Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
