{"schemaVersion":3,"id":"CVE-2021-3421","aliases":["UBUNTU-CVE-2021-3421","DEBIAN-CVE-2021-3421"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.","dates":{"published":"2021-05-19T13:40:58.000Z","modified":"2024-08-03T16:53:17.462Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00646,"percentile":0.50005,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.027000000000000027,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00673},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00646,"percentile":0.50005}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00673,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00646,"percentile":0.50005}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"debian","product":"rpm","name":"rpm","label":"rpm","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rpm","purlType":"deb","versions":[{"text":"< 4.16.1.2+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.16.1.2+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rpm","name":"rpm","label":"rpm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rpm","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.12.0.1+dfsg1-3ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.14.1+dfsg1-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.14.2.1+dfsg1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.12.0.1+dfsg1-3ubuntu0.1~esm1 | < 4.14.1+dfsg1-2ubuntu0.1~esm1 | < 4.14.2.1+dfsg1-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"32","noFixRecorded":false,"fixedIn":null},{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"32 | 33 | 34","eol":{"isEol":true,"eolDate":"2021-05-25T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"32","label":"32","eolFrom":"2021-05-25T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"rpm","product":"rpm","name":"rpm","label":"rpm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.16.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.16.1.3","eol":null,"hubHref":"/vendor/rpm/rpm"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILPBTPSBRYL4POBI3F4YUSVPSOQNJBY/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1927747","label":"bugzilla.redhat.com/show_bug.cgi?id=1927747","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202107-43","label":"security.gentoo.org/glsa/202107-43","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-3421","label":"ubuntu.com/security/CVE-2021-3421","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21","label":"github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5273-1","label":"ubuntu.com/security/notices/USN-5273-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3421","label":"www.cve.org/CVERecord?id=CVE-2021-3421","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3421","label":"security-tracker.debian.org/tracker/CVE-2021-3421","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3421","label":"nvd.nist.gov/vuln/detail/CVE-2021-3421","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2021-0167","OPENSUSE-SU-2021:1366-1","OPENSUSE-SU-2021:2682-1","OPENSUSE-SU-2021:2685-1","OPENSUSE-SU-2024:11305-1","RHSA-2021:2574","RHSA-2021:2791","SUSE-SU-2021:2682-1","SUSE-SU-2021:3444-1","SUSE-SU-2022:3939-1","USN-5273-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:1366-1","OPENSUSE-SU-2021:2682-1","OPENSUSE-SU-2021:2685-1","OPENSUSE-SU-2024:11305-1","SUSE-SU-2021:2682-1","SUSE-SU-2021:3444-1","SUSE-SU-2022:3939-1","USN-5273-1"]},"timeline":[{"kind":"published","date":"2021-05-19T13:40:58.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T16:53:17.462Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:37:22.160Z","stale":false,"partial":false}}