CVE-2021-28878
Rust · CVE-2021-28878
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.997% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:51:15.805Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T16:51:15.805Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:29.829Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:51:15.805Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:55:46.963Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:46.963Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "rustc",
"debian": "https://tracker.debian.org/pkg/rustc",
"source": "https://ubuntu.com/security/cve?package=rustc",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=rustc",
"statuses": [
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life",
"release_codename": "groovy"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life",
"release_codename": "hirsute"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life",
"release_codename": "impish"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "kinetic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "1.53.0+dfsg1+llvm-4ubuntu1~18.04.1",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1.53.0+dfsg1+llvm-4ubuntu1",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1.52.0",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "1.61.0+dfsg1-1~exp1ubuntu1",
"release_codename": "lunar"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "1.67.1+dfsg0ubuntu1-0ubuntu2",
"release_codename": "mantic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "1.67.1+dfsg0ubuntu1-0ubuntu2",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/rust-lang/rust/issues/82291",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/rust-lang/rust/pull/82292",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/",
"name": "FEDORA-2021-d0ba1901ca",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/",
"name": "FEDORA-2021-b1ba54add6",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/",
"name": "FEDORA-2021-d7f74f0250",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202210-09",
"name": "GLSA-202210-09",
"tags": [
"vendor-advisory",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T21:55:12.072Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / focal | rustc | security | 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 | Official record |
| distribution-package | Ubuntu / jammy | rustc | security | 1.53.0+dfsg1+llvm-4ubuntu1 | Official record |
| upstream-release | upstream / upstream | rustc | Not a distribution channel | 1.52.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:46.963ZArchived source JSON
Source publication: 2021-04-11T00:00:00.000Z
Source modification: 2024-08-03T21:55:12.072ZDocument fingerprint
903270a0a737f8e5554dff6c806fa9ea54ab392de42d36904a0056cb9cf25da5 - Ubuntu SecurityConsulted: 2026-11-19T16:51:15.805ZArchived source JSON
Source publication: 2021-04-11T20:15:00.000Z
Source modification: 2025-08-26T12:30:26.525ZDocument fingerprint
2604218f1be4c8cb1a980ad023b815eeee102e910ea25aebc1db1250855864f2 - FIRST EPSSConsulted: 2026-11-19T16:04:29.829ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0ada5949615a4f73336c326c2872c6b13ce677871d7a909901276520e3f556a8
Official status history
- UNKNOWN → PUBLISHED · · evidence