CVSS 3.1
7.3 highCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HHigh (7.3). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in cargo 0.72.2.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:Hcargo (crates.io): fixed in 0.72.2Explain CVE-2023-38497 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-38497?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-38497?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-38497 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| rust-lang:cargo | before 0.72.2 |
| fedoraproject:fedora | 38 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-j3xp-wfr4-hx87 | crates.io | cargo | <0.72.2 | 0.72.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | cargo, rust-cargo | no fix listed | DEBIAN-CVE-2023-38497 |
| Debian | 13, 14 | rust-cargo | 0.76.0-1 | DEBIAN-CVE-2023-38497 |
| Ubuntu | 24.04:LTS | rust-cargo | no fix listed | UBUNTU-CVE-2023-38497 |
| Ubuntu | 24.04:LTS | rustc | 1.71.1+dfsg0ubuntu2-0ubuntu1 | UBUNTU-CVE-2023-38497 |
| Ubuntu | Pro:16.04:LTS | cargo | 0.47.0-1~exp1ubuntu1~16.04.1+esm1 | UBUNTU-CVE-2023-38497 USN-6275-1 |
| Ubuntu | Pro:18.04:LTS | cargo | 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04.1~esm1 | UBUNTU-CVE-2023-38497 USN-6275-1 |
| Ubuntu | Pro:20.04:LTS | cargo | 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1 | UBUNTU-CVE-2023-38497 USN-6275-1 |
| Ubuntu | Pro:22.04:LTS | cargo | 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1 | UBUNTU-CVE-2023-38497 USN-6275-1 |
| Ubuntu | Pro:22.04:LTS | rust-cargo | 0.57.0-1ubuntu0.1~esm1 | UBUNTU-CVE-2023-38497 USN-6275-1 |
| Red Hat | devtools:2023::el7 | rust-toolset-1.66-rust, rust-toolset-1.66-cargo, rust-toolset-1.66-clippy and 10 more | 0:1.66.1-2.el7_9 | RHSA-2023:4651 |
| Red Hat | enterprise_linux:8::appstream | rust, cargo, clippy and 18 more | 0:1.66.1-2.module+el8.8.0+19613+f0bba33b | RHSA-2023:4635 |
| Red Hat | enterprise_linux:9::appstream | rust, cargo, clippy and 18 more | 0:1.66.1-2.el9_2 | RHSA-2023:4634 |
| Red Hat | rhel_eus:8.6::appstream | rls, rust, cargo and 18 more | 0:1.58.1-1.module+el8.6.0+21522+a4bc17c1.1 | RHSA-2024:3428 |
| Red Hat | rhel_eus:8.6::appstream | rust-toolset | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2024:3428 |
| Red Hat | rhel_eus:9.0::appstream | rls, rust, cargo and 18 more | 0:1.58.1-1.el9_0.1 | RHSA-2024:3418 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5 | rust1.71 | 1.71.1-150400.9.6.1 | SUSE-SU-2023:3251-1 |
| openSUSE | Leap 15.4, Leap 15.5 | rust1.71 | 1.71.1-150400.9.6.1 | SUSE-SU-2023:3251-1 |
| openSUSE | Tumbleweed | rust1.71 | 1.71.1-1.1 | openSUSE-SU-2024:13101-1 |
| AlmaLinux | 8 | rust, cargo, clippy and 12 more | 1.66.1-2.module_el8.8.0+3604+b9bee1fc | ALSA-2023:4635 |
| AlmaLinux | 9 | rust, cargo, clippy and 12 more | 1.66.1-2.el9_2 | ALSA-2023:4634 |
| Rocky Linux | 8 | rust | 0:1.66.1-2.module+el8.8.0+1428+0690fcea | RLSA-2023:4635 |
| Rocky Linux | 9 | rust | 0:1.66.1-2.el9_2 | RLSA-2023:4634 |
| Alpine | v3.18, v3.19, v3.20 and 3 more | rust | 1.71.1-r0 | ALPINE-CVE-2023-38497 |
| Alpine | v3.24 | rust, chromium-rust | 1.71.1-r0 | ALPINE-CVE-2023-38497 |
| Azure Linux | 2 | rust | 1.72.0-2 | AZL-28510 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
We recommend configuring your system to prevent other local users from accessing the Cargo directory, usually located in `~/.cargo`.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Tools | rust-toolset-1.66-rust-0:1.66.1-2.el7_9 | Fixed 2023-08-15 | RHSA-2023:4651 |
| Red Hat Enterprise Linux 8 | rust-toolset:rhel8-8080020230807230209.0a78da64 | Fixed 2023-08-14 | RHSA-2023:4635 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | rust-toolset:rhel8-8060020240312174911.aeeed864 | Fixed 2024-05-28 | RHSA-2024:3428 |
| Red Hat Enterprise Linux 9 | rust-0:1.66.1-2.el9_2 | Fixed 2023-08-14 | RHSA-2023:4634 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | rust-0:1.58.1-1.el9_0.1 | Fixed 2024-05-28 | RHSA-2024:3418 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-38497.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).