Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. conquer-once
  4. ›
  5. CVE-2020-36208

CVE-2020-36208: Data races in conquer-once

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/advisories/GHSA-3jc5-5hc5-33gj
  • github.com/oliver-giersch/conquer-once
  • github.com/oliver-giersch/conquer-once/issues/3
  • nvd.nist.gov/vuln/detail/CVE-2020-36208
  • rustsec.org/advisories/RUSTSEC-2020-0101.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36208 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.2

Fixed versions

  • 0.3.2

Solution

Upgrade to version 0.3.2 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-662: Improper Synchronization
  • CWE-787: Out-of-bounds Write

Source file

cargo/conquer-once/CVE-2020-36208.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.