{"kind": "product", "path": "vulns/ubuntu-20.04-lts/rustc", "name": "rustc", "product": "rustc", "ecosystem": "Ubuntu:20.04:LTS", "items": [{"id": "CVE-2022-23639", "noindex": false, "published": "2022-02-15T18:20:10.000Z", "modified": "2025-04-22T18:22:02.437Z", "cvss": 8.1, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "severity": "high", "epss": 0.01229, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2022-23639", "title": "Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils", "description": "crossbeam-utils provides atomics, synchronization primitives, scoped threads, and other utilities for concurrent programming in Rust. crossbeam-utils prior to version 0.8.7 incorrectly assumed that the alignment of `{i,u}64` was always the same as `Atomic{I,U}64`. However, the alignment of `{i,u}64` on a 32-bit target can be smaller than `Atomic{I,U}64`. This can cause unaligned memory accesses and data race. Crates using `fetch_*` methods with `AtomicCell<{i,u}64>` are affected by this issue. 32-bit targets without `Atomic{I,U}64` and 64-bit targets are not affected by this issue. This has been fixed in crossbeam-utils 0.8.7. There are curre", "references": ["https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926", "https://github.com/crossbeam-rs/crossbeam/pull/781", "https://github.com/crossbeam-rs/crossbeam/releases/tag/crossbeam-utils-0.8.7"], "fixes": ["1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2022-21658", "noindex": false, "published": "2022-01-20T00:00:00.000Z", "modified": "2025-04-22T18:32:53.619Z", "cvss": 7.3, "cvss_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H", "severity": "high", "epss": 0.01376, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2022-21658", "title": "Race condition in std::fs::remove_dir_all in rustlang", "description": "Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. The Rust Security Response WG was notified that the `std::fs::remove_dir_all` standard library function is vulnerable a race condition enabling symlink following (CWE-363). An attacker could use this security issue to trick a privileged program into deleting files and directories the attacker couldn't otherwise access or delete. Rust 1.0.0 through Rust 1.58.0 is affected by this vulnerability with 1.58.1 containing a patch. Note that the following build targets don't have usable APIs to properly mitigate the attack,", "references": ["https://github.com/rust-lang/rust/security/advisories/GHSA-r9cc-f5pr-p3j2", "https://github.com/rust-lang/rust/pull/93110", "https://github.com/rust-lang/rust/pull/93110/commits/32ed6e599bb4722efefd78bbc9cd7ec4613cb946"], "fixes": ["1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-42574", "noindex": false, "published": "2021-11-01T00:00:00.000Z", "modified": "2024-08-04T03:38:49.283Z", "cvss": 8.3, "cvss_vector": "", "severity": "high", "epss": 0.12881, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-42574", "title": "CVE-2021-42574", "description": "An issue was discovered in the Bidirectional Algorithm in the Unicode Specification through 14.0. It permits the visual reordering of characters via control sequences, which can be used to craft source code that renders different logic than the logical ordering of tokens ingested by compilers and interpreters. Adversaries can leverage this to encode source code for compilers accepting Unicode such that targeted vulnerabilities are introduced invisibly to human reviewers. NOTE: the Unicode Consortium offers the following alternative approach to presenting this concern. An issue is noted in the nature of international text that can affect appli", "references": ["http://www.unicode.org/versions/Unicode14.0.0/", "https://trojansource.codes", "http://www.openwall.com/lists/oss-security/2021/11/01/1"], "fixes": ["1.57.0+dfsg1+llvm-0ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-29922", "noindex": false, "published": "2021-08-07T00:00:00.000Z", "modified": "2024-08-03T22:18:03.280Z", "cvss": 9.1, "cvss_vector": "", "severity": "critical", "epss": 0.02623, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-29922", "title": "CVE-2021-29922", "description": "library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.", "references": ["https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html", "https://github.com/rust-lang/rust/pull/83652", "https://github.com/rust-lang/rust/issues/83648"], "fixes": ["1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2020-36323", "noindex": false, "published": "2021-04-14T06:10:09.000Z", "modified": "2024-08-04T17:23:10.528Z", "cvss": 8.2, "cvss_vector": "", "severity": "high", "epss": 0.02025, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2020-36323", "title": "CVE-2020-36323", "description": "In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.", "references": ["https://github.com/rust-lang/rust/issues/80335", "https://github.com/rust-lang/rust/pull/81728", "https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174"], "fixes": ["1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-31162", "noindex": false, "published": "2021-04-14T00:00:00.000Z", "modified": "2024-08-03T22:55:53.384Z", "cvss": 9.8, "cvss_vector": "", "severity": "critical", "epss": 0.0289, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-31162", "title": "CVE-2021-31162", "description": "In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.", "references": ["https://github.com/rust-lang/rust/issues/83618", "https://github.com/rust-lang/rust/pull/83629", "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/"], "fixes": ["1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2020-36317", "noindex": false, "published": "2021-04-11T19:06:28.000Z", "modified": "2024-08-04T17:23:10.174Z", "cvss": 7.5, "cvss_vector": "", "severity": "high", "epss": 0.01496, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2020-36317", "title": "CVE-2020-36317", "description": "In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.", "references": ["https://github.com/rust-lang/rust/issues/78498", "https://github.com/rust-lang/rust/pull/78499", "https://nvd.nist.gov/vuln/detail/CVE-2020-36317"], "fixes": ["1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-28879", "noindex": false, "published": "2021-04-11T00:00:00.000Z", "modified": "2024-08-03T21:55:12.277Z", "cvss": 9.8, "cvss_vector": "", "severity": "critical", "epss": 0.02412, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-28879", "title": "CVE-2021-28879", "description": "In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.", "references": ["https://github.com/rust-lang/rust/issues/82282", "https://github.com/rust-lang/rust/pull/82289", "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/"], "fixes": ["1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-28878", "noindex": false, "published": "2021-04-11T00:00:00.000Z", "modified": "2024-08-03T21:55:12.072Z", "cvss": 7.5, "cvss_vector": "", "severity": "high", "epss": 0.01997, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-28878", "title": "CVE-2021-28878", "description": "In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.", "references": ["https://github.com/rust-lang/rust/issues/82291", "https://github.com/rust-lang/rust/pull/82292", "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/"], "fixes": ["1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-28877", "noindex": false, "published": "2021-04-11T00:00:00.000Z", "modified": "2024-08-03T21:55:12.185Z", "cvss": 7.5, "cvss_vector": "", "severity": "high", "epss": 0.01387, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-28877", "title": "CVE-2021-28877", "description": "In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.", "references": ["https://github.com/rust-lang/rust/pull/80670", "https://security.gentoo.org/glsa/202210-09", "https://nvd.nist.gov/vuln/detail/CVE-2021-28877"], "fixes": ["1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-28876", "noindex": false, "published": "2021-04-11T00:00:00.000Z", "modified": "2024-08-03T21:55:11.787Z", "cvss": 5.3, "cvss_vector": "", "severity": "medium", "epss": 0.01566, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-28876", "title": "CVE-2021-28876", "description": "In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.", "references": ["https://github.com/rust-lang/rust/issues/81740", "https://github.com/rust-lang/rust/pull/81741", "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/"], "fixes": ["1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}, {"id": "CVE-2021-28875", "noindex": false, "published": "2021-04-11T00:00:00.000Z", "modified": "2024-08-03T21:55:11.584Z", "cvss": 7.5, "cvss_vector": "", "severity": "high", "epss": 0.02122, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2021-28875", "title": "CVE-2021-28875", "description": "In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.", "references": ["https://github.com/rust-lang/rust/issues/80894", "https://github.com/rust-lang/rust/pull/80895", "https://security.gentoo.org/glsa/202210-09"], "fixes": ["1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2"], "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}]}], "total": 12, "unknown_count": 0, "release_unconfirmed": false, "page": 1, "pages": 1, "filtered": false, "noindex": false, "filters": {}, "page_size": 20, "products": [{"name": "rustc", "path": "vulns/ubuntu-20.04-lts/rustc", "ecosystem": "Ubuntu:20.04:LTS"}], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}, {"name": "web", "path": "vulns/stack/web", "slug": "web"}, {"name": "php", "path": "vulns/stack/php", "slug": "php"}, {"name": "python", "path": "vulns/stack/python", "slug": "python"}, {"name": "node", "path": "vulns/stack/node", "slug": "node"}, {"name": "database", "path": "vulns/stack/database", "slug": "database"}, {"name": "containers", "path": "vulns/stack/containers", "slug": "containers"}, {"name": "network", "path": "vulns/stack/network", "slug": "network"}, {"name": "applications", "path": "vulns/stack/applications", "slug": "applications"}], "versions": [], "stats": {"recent": 0, "kev": 0}, "lastmod": "2025-04-22T18:32:53.619Z", "early_advisories": [], "license": "You may freely use the PatchFirst selection and our additions (priorities, early warnings, texts, summaries and aggregates) for your own purposes, including internal business use. Resale, commercial distribution and bulk mirroring of this selection or these additions require a written agreement with the operator. Whenever you use or publish the selection or our additions, credit PatchFirst (https://patchfirst.dev/vulns/) with this link to the regional feed page. Original records from open sources remain subject to their respective licenses and terms. These conditions do not restrict your rights to the original data, which you can obtain directly from those sources.", "terms_url": "https://patchfirst.dev/vulns/#feed-terms", "attribution": {"name": "PatchFirst", "url": "https://patchfirst.dev/vulns/"}, "source_changes": "Records are selected, normalized and combined by PatchFirst; summaries and translations may be added. News is credited with a link to the original source in each entry.", "sources": [{"id": "cve", "name": "CVE List / CVE.org", "url": "https://www.cve.org/", "license": "CVE Terms of Use", "terms_url": "https://www.cve.org/Legal/TermsOfUse", "notice": "Copyright © 1999–2021, The MITRE Corporation. LICENSE Submissions : For all materials you submit to the Common Vulnerabilities and Exposures (CVE™), you hereby grant to The MITRE Corporation (MITRE) and all CVE Numbering Authorities (CNAs) a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute such materials and derivative works. Unless required by applicable law or agreed to in writing, you provide such materials on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. CVE Usage : MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. DISCLAIMERS ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN \"AS IS\" BASIS AND THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE MITRE CORPORATION, ITS BOARD OF TRUSTEES, OFFICERS, AGENTS, AND EMPLOYEES, DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION THEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."}, {"id": "osv", "name": "OSV", "url": "https://osv.dev/", "terms_url": "https://google.github.io/osv.dev/data/", "terms": "Upstream licenses vary; see the source catalog."}, {"id": "kev", "name": "CISA KEV", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "license": "CC0-1.0", "terms_url": "https://github.com/cisagov/kev-data/blob/develop/LICENSE"}, {"id": "epss", "name": "FIRST EPSS", "url": "https://www.first.org/epss/", "terms_url": "https://www.first.org/epss/faq", "terms": "Free public scores; attribution requested (FIRST EPSS, scores generated by Empirical Security)."}, {"id": "github-advisory", "name": "GitHub Advisory Database", "url": "https://github.com/advisories", "license": "CC-BY-4.0", "terms_url": "https://github.com/github/advisory-database/blob/main/LICENSE.md"}, {"id": "exploitdb", "name": "Exploit-DB", "url": "https://www.exploit-db.com/", "license": "GPL-2.0", "terms_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/LICENSE.md"}, {"id": "metasploit", "name": "Metasploit", "url": "https://github.com/rapid7/metasploit-framework", "license": "BSD-3-Clause", "terms_url": "https://github.com/rapid7/metasploit-framework/blob/master/LICENSE", "notice": "Copyright (c) 2006-2026, Rapid7, Inc.\nLicense: BSD-3-clause\n Redistribution and use in source and binary forms, with or without modification,\n are permitted provided that the following conditions are met:\n .\n * Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n .\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n .\n * Neither the name of Rapid7, Inc. nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n .\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\n ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."}, {"id": "nuclei", "name": "Nuclei Templates", "url": "https://github.com/projectdiscovery/nuclei-templates", "license": "MIT", "terms_url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/LICENSE.md", "notice": "MIT License\n\nCopyright (c) 2025 ProjectDiscovery, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."}, {"id": "linux-kernel", "name": "Linux kernel releases", "url": "https://www.kernel.org/", "license": "CC-BY-SA-4.0", "terms_url": "https://www.kernel.org/legal.html", "notice": "Copyright (C) 1997-2014 by The Linux Kernel Organization, Inc."}]}