GSD-2016-1248

Vulnerability from gsd - Updated: 2023-12-13 01:21
Details
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.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2016-1248",
    "description": "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.",
    "id": "GSD-2016-1248",
    "references": [
      "https://www.suse.com/security/cve/CVE-2016-1248.html",
      "https://www.debian.org/security/2016/dsa-3722",
      "https://access.redhat.com/errata/RHSA-2016:2972",
      "https://ubuntu.com/security/CVE-2016-1248",
      "https://advisories.mageia.org/CVE-2016-1248.html",
      "https://security.archlinux.org/CVE-2016-1248",
      "https://alas.aws.amazon.com/cve/html/CVE-2016-1248.html",
      "https://linux.oracle.com/cve/CVE-2016-1248.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2016-1248"
      ],
      "details": "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.",
      "id": "GSD-2016-1248",
      "modified": "2023-12-13T01:21:24.203080Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "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"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "8.0.0055",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@debian.org",
          "ID": "CVE-2016-1248"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-20"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://openwall.com/lists/oss-security/2016/11/22/20",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "http://openwall.com/lists/oss-security/2016/11/22/20"
            },
            {
              "name": "https://github.com/vim/vim/releases/tag/v8.0.0056",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://github.com/vim/vim/releases/tag/v8.0.0056"
            },
            {
              "name": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"
            },
            {
              "name": "https://lists.debian.org/debian-security-announce/2016/msg00305.html",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://lists.debian.org/debian-security-announce/2016/msg00305.html"
            },
            {
              "name": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"
            },
            {
              "name": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"
            },
            {
              "name": "[debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"
            },
            {
              "name": "94478",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/94478"
            },
            {
              "name": "USN-3139-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-3139-1"
            },
            {
              "name": "DSA-3722",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2016/dsa-3722"
            },
            {
              "name": "RHSA-2016:2972",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-2972.html"
            },
            {
              "name": "GLSA-201701-29",
              "refsource": "GENTOO",
              "tags": [],
              "url": "https://security.gentoo.org/glsa/201701-29"
            },
            {
              "name": "1037338",
              "refsource": "SECTRACK",
              "tags": [],
              "url": "http://www.securitytracker.com/id/1037338"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "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,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "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
        }
      },
      "lastModifiedDate": "2017-07-28T01:29Z",
      "publishedDate": "2016-11-23T15:59Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…