# CVE-2021-32773: Confused deputy attack in sandbox module resolution

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-07-19T23:55:11.000Z
- Modified: 2026-06-17T03:53:36.053Z
- Weaknesses: CWE-441, CWE-610
- Assigned by: GitHub_M

## Description

Racket is a general-purpose programming language and an ecosystem for language-oriented programming. In versions prior to 8.2, code evaluated using the Racket sandbox could cause system modules to incorrectly use attacker-created modules instead of their intended dependencies. This could allow system functions to be controlled by the attacker, giving access to facilities intended to be restricted. This problem is fixed in Racket version 8.2. A workaround is available, depending on system settings. For systems that provide arbitrary Racket evaluation, external sandboxing such as containers limit the impact of the problem. For multi-user evaluation systems, such as the `handin-server` system, it is not possible to work around this problem and upgrading is required.

(As written by CVE List.)

## Affected

- racket racket: < 8.2
- racket-lang racket: before 8.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/racket/racket/security/advisories/GHSA-cgrw-p7p7-937c> (third-party-advisory)
- <https://github.com/racket/racket/commit/6ca4ffeca1e5877d44f835760ad89f18488d97e1> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32773](https://www.cve.org/CVERecord?id=CVE-2021-32773), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32773](https://nvd.nist.gov/vuln/detail/CVE-2021-32773), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32773 · Whole record: https://cve.day/CVE-2021-32773.json · Rebuilt by cve.day 2026-11-25T22:58:02.735Z
