{"schemaVersion":4,"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-11-24T14:51:42.211Z","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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:7.4.052-1ubuntu3.1+esm4","endInclusive":false}},{"text":"< 2:7.4.1689-3ubuntu1.5+esm3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:7.4.1689-3ubuntu1.5+esm3","endInclusive":false}},{"text":"< 2:8.0.1453-1ubuntu1.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:8.0.1453-1ubuntu1.7","endInclusive":false}},{"text":"< 2:8.1.2269-1ubuntu5.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:8.1.2269-1ubuntu5.4","endInclusive":false}}],"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-11-24T14:51:42.211Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"insufficient-evidence","tag":null,"reason":"No CVSS vector published; no exploitation reported by the 5 checked sources","nextStep":"Check the vendor advisory","rank":[0,0,0,0,0,0],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[],"epss":{"value":null,"date":null,"stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T05:02:50.511Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T05:02:51.052Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T05:02:51.313Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T05:00:54.010Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T05:02:48.843Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T05:02:47.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T05:15:52.913Z","stale":false,"partial":false}}