Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-38497

published high CVSS 3.1 · 7.8

Cargo not respecting umask when extracting crate archives

Published
04 Aug 2023, 15:51:44 UTC
Updated
13 Feb 2025, 17:01:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
rust-lang — cargo< 0.72.2 Affected Not stated GitHub_M
rust-lang — cargo0 to < 0.72.2 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluationALAS2-2023-2223 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-323 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 cargo Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
Oracle Linux 8 cargoaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Red Hat Enterprise Linux RHEL-8 cargoaarch64 Advisory build 1.58.1-1.module+el8.6.0+21522+a4bc17c1.1 RHSA-2024:3428
Ubuntu bionic cargo Advisory build 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04.1~esm1 USN-6275-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux edge rust Fixed 1.71.1-r0 Package fix record
AlmaLinux 9 cargo Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
Oracle Linux 8 cargox86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 9 cargoaarch64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 cargox86_64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Red Hat Enterprise Linux RHEL-8 cargoaarch64 Advisory build 1.66.1-2.module+el8.8.0+19613+f0bba33b RHSA-2023:4635
Red Hat Enterprise Linux RHEL-8 cargoppc64le Advisory build 1.58.1-1.module+el8.6.0+21522+a4bc17c1.1 RHSA-2024:3428
Red Hat Enterprise Linux RHEL-8 cargoppc64le Advisory build 1.66.1-2.module+el8.8.0+19613+f0bba33b RHSA-2023:4635
Red Hat Enterprise Linux RHEL-8 cargos390x Advisory build 1.58.1-1.module+el8.6.0+21522+a4bc17c1.1 RHSA-2024:3428
Red Hat Enterprise Linux RHEL-8 cargos390x Advisory build 1.66.1-2.module+el8.8.0+19613+f0bba33b RHSA-2023:4635
Red Hat Enterprise Linux RHEL-8 cargox86_64 Advisory build 1.58.1-1.module+el8.6.0+21522+a4bc17c1.1 RHSA-2024:3428
Red Hat Enterprise Linux RHEL-8 cargox86_64 Advisory build 1.66.1-2.module+el8.8.0+19613+f0bba33b RHSA-2023:4635
Red Hat Enterprise Linux RHEL-9 cargoaarch64 Advisory build 1.58.1-1.el9_0.1 RHSA-2024:3418
Red Hat Enterprise Linux RHEL-9 cargoaarch64 Advisory build 1.66.1-2.el9_2 RHSA-2023:4634
Red Hat Enterprise Linux RHEL-9 cargoppc64le Advisory build 1.58.1-1.el9_0.1 RHSA-2024:3418
Red Hat Enterprise Linux RHEL-9 cargoppc64le Advisory build 1.66.1-2.el9_2 RHSA-2023:4634
Red Hat Enterprise Linux RHEL-9 cargos390x Advisory build 1.58.1-1.el9_0.1 RHSA-2024:3418
Red Hat Enterprise Linux RHEL-9 cargos390x Advisory build 1.66.1-2.el9_2 RHSA-2023:4634
Red Hat Enterprise Linux RHEL-9 cargox86_64 Advisory build 1.58.1-1.el9_0.1 RHSA-2024:3418
Red Hat Enterprise Linux RHEL-9 cargox86_64 Advisory build 1.66.1-2.el9_2 RHSA-2023:4634
Ubuntu focal cargo Advisory build 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1 USN-6275-1
Ubuntu jammy cargo Advisory build 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1 USN-6275-1
Ubuntu xenial cargo Advisory build 0.47.0-1~exp1ubuntu1~16.04.1+esm1 USN-6275-1
AlmaLinux 8 clippy Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-analysis Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-analyzer Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-debugger-common Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-doc Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-gdb Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-lldb Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-src Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-std-static Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-std-static-wasm32-unknown-unknown Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-std-static-wasm32-wasi Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rust-toolset Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 8 rustfmt Advisory build 1.66.1-2.module_el8.8.0+3604+b9bee1fc ALSA-2023:4635
AlmaLinux 9 clippy Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-analysis Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-analyzer Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-debugger-common Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-doc Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-gdb Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-lldb Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-src Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-std-static Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-std-static-wasm32-unknown-unknown Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-std-static-wasm32-wasi Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rust-toolset Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
AlmaLinux 9 rustfmt Advisory build 1.66.1-2.el9_2 ALSA-2023:4634
Alpine Linux v3.18 rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.19 rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.20 rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.21 rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.22 rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.23 rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.24 chromium-rust Fixed 1.71.1-r0 Package fix record
Alpine Linux v3.24 rust Fixed 1.71.1-r0 Package fix record
Oracle Linux 8 clippyaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 clippyx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rustaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rustx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-analysisaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-analysisx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-analyzeraarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-analyzerx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-debugger-commonaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-debugger-commonx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-docaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-docx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-gdbaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-gdbx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-lldbaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-lldbx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-srcaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-srcx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-std-staticaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-std-staticx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-std-static-wasm32-unknown-unknownaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-std-static-wasm32-unknown-unknownx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-std-static-wasm32-wasiaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-std-static-wasm32-wasix86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-toolsetaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rust-toolsetx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rustfmtaarch64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 8 rustfmtx86_64 · rust-toolset · ol8 is enabled Advisory build 0:1.66.1-2.module+el8.8.0+21152+49720d82 ELSA-2023-4635
Oracle Linux 9 clippyaarch64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 clippyx86_64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rustaarch64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rustx86_64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rust-analysisaarch64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rust-analysisx86_64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rust-analyzeraarch64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rust-analyzerx86_64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634
Oracle Linux 9 rust-debugger-commonaarch64 Advisory build 0:1.66.1-2.el9_2 ELSA-2023-4634

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change the source code compiled and executed by the current user. To prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround, configure one's system to prevent other local users from accessing the Cargo directory, usually located in `~/.cargo`.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

30

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
rust-lang cargo < 0.72.2 (affected) GitHub_M · cna
rust-lang cargo 0 to < 0.72.2 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-278 CWE-278: Insecure Preserved Inherited Permissions (GitHub_M · cna)

References

8

Provider assertions

3

GitHub_M · cna

Cargo not respecting umask when extracting crate archives

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
853e99e830276c11202324a45b234241ce56c764b9927c559d89c2b06cd42b5a
Ingested
23 Sep 2026, 08:10:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected