Vulnerability · Published Jul 19, 2021 · Assigned by GitHub_M

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

Medium 6.1

In plain English

A medium-severity security flaw in racket from racket. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.9%top 41.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12racket7.9+dfsg1-2DEBIAN-CVE-2021-32773
Debian:13racket7.9+dfsg1-2DEBIAN-CVE-2021-32773
Debian:14racket7.9+dfsg1-2DEBIAN-CVE-2021-32773
Ubuntu:22.04:LTSracketno fix listedUBUNTU-CVE-2021-32773
Ubuntu:24.04:LTSracketno fix listedUBUNTU-CVE-2021-32773
Ubuntu:25.10racketno fix listedUBUNTU-CVE-2021-32773
Ubuntu:26.04:LTSracketno fix listedUBUNTU-CVE-2021-32773
Ubuntu:26.10racketno fix listedUBUNTU-CVE-2021-32773

Affected products (as reported)

VendorProductVersions
racket racket < 8.2

Weakness: CWE-441 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

References