OSV 1.4.0 · github-reviewed · 修改于 2023-06-14 01:00
发布时间
2021-08-26 04:50
GitHub 审查时间
2021-08-20 02:51
NVD 发布时间
—
源文件
advisories/github-reviewed/2021/08/GHSA-3jc5-5hc5-33gj/GHSA-3jc5-5hc5-33gj.json
Affected versions of conquer-once implements Sync for its OnceCell type without restricting it to Sendable types.
This allows non-Send but Sync types such as MutexGuard to be sent across threads leading to undefined behavior and memory corruption in concurrent programs.
The issue was fixed by adding a Send constraint to OnceCell.