fkie_cve-2016-1248
Vulnerability from fkie_nvd
Published
2016-11-23 15:59
Modified
2025-04-12 10:46
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
vim vim *
debian debian_linux 8.0



{
   configurations: [
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "6C46FDA7-FFAC-47FC-844E-327A0F14E824",
                     versionEndIncluding: "8.0.0055",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                     matchCriteriaId: "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
   ],
   cveTags: [],
   descriptions: [
      {
         lang: "en",
         value: "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.",
      },
      {
         lang: "es",
         value: "vim en versiones anteriores a patch 8.0.0056 no valida correctamente los valores para las opciones 'filetype', 'syntax' y 'keymap', lo que puede resulta en la ejecución de código arbitrario si se abre un archivo con una línea de modo especialmente manipulada.",
      },
   ],
   id: "CVE-2016-1248",
   lastModified: "2025-04-12T10:46:40.837",
   metrics: {
      cvssMetricV2: [
         {
            acInsufInfo: false,
            baseSeverity: "MEDIUM",
            cvssData: {
               accessComplexity: "MEDIUM",
               accessVector: "NETWORK",
               authentication: "NONE",
               availabilityImpact: "PARTIAL",
               baseScore: 6.8,
               confidentialityImpact: "PARTIAL",
               integrityImpact: "PARTIAL",
               vectorString: "AV:N/AC:M/Au:N/C:P/I:P/A:P",
               version: "2.0",
            },
            exploitabilityScore: 8.6,
            impactScore: 6.4,
            obtainAllPrivilege: false,
            obtainOtherPrivilege: false,
            obtainUserPrivilege: false,
            source: "nvd@nist.gov",
            type: "Primary",
            userInteractionRequired: true,
         },
      ],
      cvssMetricV30: [
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "LOCAL",
               availabilityImpact: "HIGH",
               baseScore: 7.8,
               baseSeverity: "HIGH",
               confidentialityImpact: "HIGH",
               integrityImpact: "HIGH",
               privilegesRequired: "NONE",
               scope: "UNCHANGED",
               userInteraction: "REQUIRED",
               vectorString: "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
               version: "3.0",
            },
            exploitabilityScore: 1.8,
            impactScore: 5.9,
            source: "nvd@nist.gov",
            type: "Primary",
         },
      ],
   },
   published: "2016-11-23T15:59:00.137",
   references: [
      {
         source: "security@debian.org",
         tags: [
            "Patch",
            "Third Party Advisory",
         ],
         url: "http://openwall.com/lists/oss-security/2016/11/22/20",
      },
      {
         source: "security@debian.org",
         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",
         tags: [
            "Patch",
            "Third Party Advisory",
         ],
         url: "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog",
      },
      {
         source: "security@debian.org",
         tags: [
            "Patch",
            "Vendor 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: [
            "Mailing List",
            "Third Party Advisory",
         ],
         url: "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html",
      },
      {
         source: "security@debian.org",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://lists.debian.org/debian-security-announce/2016/msg00305.html",
      },
      {
         source: "security@debian.org",
         url: "https://security.gentoo.org/glsa/201701-29",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Patch",
            "Third Party Advisory",
         ],
         url: "http://openwall.com/lists/oss-security/2016/11/22/20",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         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",
         tags: [
            "Patch",
            "Third Party Advisory",
         ],
         url: "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Patch",
            "Vendor 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: [
            "Mailing List",
            "Third Party Advisory",
         ],
         url: "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://lists.debian.org/debian-security-announce/2016/msg00305.html",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "https://security.gentoo.org/glsa/201701-29",
      },
   ],
   sourceIdentifier: "security@debian.org",
   vulnStatus: "Deferred",
   weaknesses: [
      {
         description: [
            {
               lang: "en",
               value: "CWE-20",
            },
         ],
         source: "nvd@nist.gov",
         type: "Primary",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.