6.8med

CVE-2008-34321 exploit

Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute a…

Published 18 y ago · modified 4 mo ago · JSON

CVSS
6.8
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
8.6%
percentile 95%
Public exploits
1
Exploit-DB

Summary

Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.

Exploit prediction (EPSS)

8.62% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.

Exploits and detections

  • EDB-32225 Vim - 'mch_expand_wildcards()' Heap Buffer Overflow · remote · 2005-01-29

CVSS scores

Assigned byVersionScoreVector
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • vmware.com /security/advisories/VMSA-2009-0004.html · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2008/07/15/4 · mailing-list, x_refsource_MLIST, x_transferred
  • securityfocus.com /bid/31681 · vdb-entry, x_refsource_BID, x_transferred
  • secunia.com /advisories/32858 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/33410 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • openwall.com /lists/oss-security/2008/08/01/1 · mailing-list, x_refsource_MLIST, x_transferred
  • support.avaya.com /elmodocs2/security/ASA-2009-001.htm · x_refsource_CONFIRM, x_transferred
  • vupen.com /english/advisories/2009/0904 · vdb-entry, x_refsource_VUPEN, x_transferred
  • vupen.com /english/advisories/2009/0033 · vdb-entry, x_refsource_VUPEN, x_transferred
  • oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11203 · vdb-entry, signature, x_refsource_OVAL, x_transferred
  • oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5987 · vdb-entry, signature, x_refsource_OVAL, x_transferred
  • securityfocus.com /archive/1/502322/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • secunia.com /advisories/32222 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/44722 · vdb-entry, x_refsource_XF, x_transferred
  • securityfocus.com /bid/30648 · vdb-entry, x_refsource_BID, x_transferred
  • vupen.com /english/advisories/2008/2780 · vdb-entry, x_refsource_VUPEN, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=455455 · x_refsource_CONFIRM, x_transferred
  • lists.apple.com /archives/security-announce/2008/Oct/msg00001.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • support.apple.com /kb/HT3216 · x_refsource_CONFIRM, x_transferred
  • redhat.com /support/errata/RHSA-2008-0617.html · vendor-advisory, x_refsource_REDHAT, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.