CVE-2016-1248
Vulnerability from cvelistv5
Published
2016-11-23 15:00
Modified
2024-08-05 22:48
Severity ?
Summary
vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.
References
security@debian.orghttp://openwall.com/lists/oss-security/2016/11/22/20Patch, Third Party Advisory
security@debian.orghttp://rhn.redhat.com/errata/RHSA-2016-2972.html
security@debian.orghttp://www.debian.org/security/2016/dsa-3722
security@debian.orghttp://www.securityfocus.com/bid/94478
security@debian.orghttp://www.securitytracker.com/id/1037338
security@debian.orghttp://www.ubuntu.com/usn/USN-3139-1
security@debian.orghttps://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelogPatch, Third Party Advisory
security@debian.orghttps://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040Patch, Vendor Advisory
security@debian.orghttps://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39aPatch, Vendor Advisory
security@debian.orghttps://github.com/vim/vim/releases/tag/v8.0.0056Patch, Vendor Advisory
security@debian.orghttps://lists.debian.org/debian-lts-announce/2016/11/msg00025.htmlMailing List, Third Party Advisory
security@debian.orghttps://lists.debian.org/debian-security-announce/2016/msg00305.htmlThird Party Advisory
security@debian.orghttps://security.gentoo.org/glsa/201701-29
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2016/11/22/20Patch, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2016-2972.html
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2016/dsa-3722
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/94478
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1037338
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/USN-3139-1
af854a3a-2127-422b-91ae-364da2661108https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelogPatch, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39aPatch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/vim/vim/releases/tag/v8.0.0056Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2016/11/msg00025.htmlMailing List, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-security-announce/2016/msg00305.htmlThird Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/201701-29
Impacted products
Vendor Product Version
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T22:48:13.669Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-security-announce/2016/msg00305.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://openwall.com/lists/oss-security/2016/11/22/20"
          },
          {
            "name": "GLSA-201701-29",
            "tags": [
              "vendor-advisory",
              "x_refsource_GENTOO",
              "x_transferred"
            ],
            "url": "https://security.gentoo.org/glsa/201701-29"
          },
          {
            "name": "DSA-3722",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2016/dsa-3722"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"
          },
          {
            "name": "[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"
          },
          {
            "name": "USN-3139-1",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "http://www.ubuntu.com/usn/USN-3139-1"
          },
          {
            "name": "1037338",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://www.securitytracker.com/id/1037338"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"
          },
          {
            "name": "94478",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/94478"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/vim/vim/releases/tag/v8.0.0056"
          },
          {
            "name": "RHSA-2016:2972",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2972.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "vim before patch 8.0.0056",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "vim before patch 8.0.0056"
            }
          ]
        }
      ],
      "datePublic": "2016-11-23T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "vim before patch 8.0.0056 does not properly validate values for the \u0027filetype\u0027, \u0027syntax\u0027 and \u0027keymap\u0027 options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "OS command injection",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-02-01T15:57:01",
        "orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
        "shortName": "debian"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://lists.debian.org/debian-security-announce/2016/msg00305.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://openwall.com/lists/oss-security/2016/11/22/20"
        },
        {
          "name": "GLSA-201701-29",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO"
          ],
          "url": "https://security.gentoo.org/glsa/201701-29"
        },
        {
          "name": "DSA-3722",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2016/dsa-3722"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"
        },
        {
          "name": "[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"
        },
        {
          "name": "USN-3139-1",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "http://www.ubuntu.com/usn/USN-3139-1"
        },
        {
          "name": "1037338",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://www.securitytracker.com/id/1037338"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"
        },
        {
          "name": "94478",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/94478"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/vim/vim/releases/tag/v8.0.0056"
        },
        {
          "name": "RHSA-2016:2972",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2972.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security@debian.org",
          "ID": "CVE-2016-1248",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "vim before patch 8.0.0056",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "vim before patch 8.0.0056"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "vim before patch 8.0.0056 does not properly validate values for the \u0027filetype\u0027, \u0027syntax\u0027 and \u0027keymap\u0027 options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "OS command injection"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://lists.debian.org/debian-security-announce/2016/msg00305.html",
              "refsource": "CONFIRM",
              "url": "https://lists.debian.org/debian-security-announce/2016/msg00305.html"
            },
            {
              "name": "http://openwall.com/lists/oss-security/2016/11/22/20",
              "refsource": "CONFIRM",
              "url": "http://openwall.com/lists/oss-security/2016/11/22/20"
            },
            {
              "name": "GLSA-201701-29",
              "refsource": "GENTOO",
              "url": "https://security.gentoo.org/glsa/201701-29"
            },
            {
              "name": "DSA-3722",
              "refsource": "DEBIAN",
              "url": "http://www.debian.org/security/2016/dsa-3722"
            },
            {
              "name": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a",
              "refsource": "CONFIRM",
              "url": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"
            },
            {
              "name": "[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update",
              "refsource": "MLIST",
              "url": "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"
            },
            {
              "name": "USN-3139-1",
              "refsource": "UBUNTU",
              "url": "http://www.ubuntu.com/usn/USN-3139-1"
            },
            {
              "name": "1037338",
              "refsource": "SECTRACK",
              "url": "http://www.securitytracker.com/id/1037338"
            },
            {
              "name": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040",
              "refsource": "CONFIRM",
              "url": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"
            },
            {
              "name": "94478",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/94478"
            },
            {
              "name": "https://github.com/vim/vim/releases/tag/v8.0.0056",
              "refsource": "CONFIRM",
              "url": "https://github.com/vim/vim/releases/tag/v8.0.0056"
            },
            {
              "name": "RHSA-2016:2972",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2016-2972.html"
            },
            {
              "name": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog",
              "refsource": "CONFIRM",
              "url": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
    "assignerShortName": "debian",
    "cveId": "CVE-2016-1248",
    "datePublished": "2016-11-23T15:00:00",
    "dateReserved": "2015-12-27T00:00:00",
    "dateUpdated": "2024-08-05T22:48:13.669Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2016-1248\",\"sourceIdentifier\":\"security@debian.org\",\"published\":\"2016-11-23T15:59:00.137\",\"lastModified\":\"2024-11-21T02:46:02.033\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"vim before patch 8.0.0056 does not properly validate values for the \u0027filetype\u0027, \u0027syntax\u0027 and \u0027keymap\u0027 options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.\"},{\"lang\":\"es\",\"value\":\"vim en versiones anteriores a patch 8.0.0056 no valida correctamente los valores para las opciones \u0027filetype\u0027, \u0027syntax\u0027 y \u0027keymap\u0027, lo que puede resulta en la ejecuci\u00f3n de c\u00f3digo arbitrario si se abre un archivo con una l\u00ednea de modo especialmente manipulada.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:P/I:P/A:P\",\"baseScore\":6.8,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-20\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"8.0.0055\",\"matchCriteriaId\":\"6C46FDA7-FFAC-47FC-844E-327A0F14E824\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43\"}]}]}],\"references\":[{\"url\":\"http://openwall.com/lists/oss-security/2016/11/22/20\",\"source\":\"security@debian.org\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-2972.html\",\"source\":\"security@debian.org\"},{\"url\":\"http://www.debian.org/security/2016/dsa-3722\",\"source\":\"security@debian.org\"},{\"url\":\"http://www.securityfocus.com/bid/94478\",\"source\":\"security@debian.org\"},{\"url\":\"http://www.securitytracker.com/id/1037338\",\"source\":\"security@debian.org\"},{\"url\":\"http://www.ubuntu.com/usn/USN-3139-1\",\"source\":\"security@debian.org\"},{\"url\":\"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog\",\"source\":\"security@debian.org\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040\",\"source\":\"security@debian.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a\",\"source\":\"security@debian.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://github.com/vim/vim/releases/tag/v8.0.0056\",\"source\":\"security@debian.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html\",\"source\":\"security@debian.org\",\"tags\":[\"Mailing List\",\"Third Party Advisory\"]},{\"url\":\"https://lists.debian.org/debian-security-announce/2016/msg00305.html\",\"source\":\"security@debian.org\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.gentoo.org/glsa/201701-29\",\"source\":\"security@debian.org\"},{\"url\":\"http://openwall.com/lists/oss-security/2016/11/22/20\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-2972.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.debian.org/security/2016/dsa-3722\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securityfocus.com/bid/94478\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securitytracker.com/id/1037338\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.ubuntu.com/usn/USN-3139-1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://github.com/vim/vim/releases/tag/v8.0.0056\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\",\"Third Party Advisory\"]},{\"url\":\"https://lists.debian.org/debian-security-announce/2016/msg00305.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.gentoo.org/glsa/201701-29\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.