{"schemaVersion":3,"id":"USN-5147-1","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"vim vulnerabilities\n\nIt was discovered that Vim incorrectly handled permissions on the .swp\nfile. A local attacker could possibly use this issue to obtain sensitive\ninformation. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-17087)\n\nIt was discovered that Vim incorrectly handled restricted mode. A local\nattacker could possibly use this issue to bypass restricted mode and\nexecute arbitrary commands. Note: This update only makes executing shell\ncommands more difficult. Restricted mode should not be considered a\ncomplete security measure. This issue only affected Ubuntu 14.04 ESM.\n(CVE-2019-20807)\n\nBrian Carpenter discovered that vim incorrectly handled memory\nwhen opening certain files. If a user was tricked into opening\na specially crafted file, a remote attacker could crash the\napplication, leading to a denial of service, or possible execute\narbitrary code with user privileges. This issue only affected\nUbuntu 20.04 LTS, Ubuntu 21.04 and Ubuntu 21.10. (CVE-2021-3872)\n\nIt was discovered that vim incorrectly handled memory when\nopening certain files. If a user was tricked into opening\na specially crafted file, a remote attacker could crash the\napplication, leading to a denial of service, or possible execute\narbitrary code with user privileges. (CVE-2021-3903)\n\nIt was discovered that vim incorrectly handled memory when\nopening certain files. If a user was tricked into opening\na specially crafted file, a remote attacker could crash the\napplication, leading to a denial of service, or possible execute\narbitrary code with user privileges. (CVE-2021-3927)\n\nIt was discovered that vim incorrectly handled memory when\nopening certain files. If a user was tricked into opening\na specially crafted file, a remote attacker could crash the\napplication, leading to a denial of service, or possible execute\narbitrary code with user privileges. (CVE-2021-3928)","dates":{"published":"2021-11-15T13:47:04.000Z","modified":"2026-06-29T13:49:34.953Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"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":[],"affected":[{"vendor":"ubuntu","product":"vim","name":"vim","label":"vim","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/vim","purlType":"deb","versions":[{"text":"< 2:7.4.052-1ubuntu3.1+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 2:7.4.1689-3ubuntu1.5+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.0.1453-1ubuntu1.7","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.1.2269-1ubuntu5.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:7.4.052-1ubuntu3.1+esm4 | < 2:7.4.1689-3ubuntu1.5+esm3 | < 2:8.0.1453-1ubuntu1.7 | < 2:8.1.2269-1ubuntu5.4","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ubuntu.com/security/notices/USN-5147-1","label":"ubuntu.com/security/notices/USN-5147-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-17087","label":"ubuntu.com/security/CVE-2017-17087","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2019-20807","label":"ubuntu.com/security/CVE-2019-20807","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-3872","label":"ubuntu.com/security/CVE-2021-3872","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-3903","label":"ubuntu.com/security/CVE-2021-3903","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-3927","label":"ubuntu.com/security/CVE-2021-3927","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-3928","label":"ubuntu.com/security/CVE-2021-3928","hostname":"ubuntu.com","tags":["REPORT"]}],"lineage":{"upstream":["CVE-2017-17087","CVE-2019-20807","CVE-2021-3872","CVE-2021-3903","CVE-2021-3927","CVE-2021-3928"],"downstream":[],"duplicates":[],"related":["CVE-2017-17087","CVE-2019-20807","CVE-2021-3872","CVE-2021-3903","CVE-2021-3927","CVE-2021-3928"]},"timeline":[{"kind":"published","date":"2021-11-15T13:47:04.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-29T13:49:34.953Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:11:01.063Z","stale":false,"partial":false}}