Vulnerability in Python

CVE-2008-5983

Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.

EPSS: 0.005 (37.3th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (mailing-list, x_refsource_MLIST)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (vendor-advisory, x_refsource_FEDORA, Mailing List, Third Party Advisory)
  • cve@mitre.org (x_refsource_SECUNIA, Not Applicable, third-party-advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (x_refsource_SECUNIA, Not Applicable, third-party-advisory)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
  • cve@mitre.org (Permissions Required, vdb-entry, x_refsource_VUPEN)